Skip to content

Commit

Permalink
Patch CI script for Julia 1.0 to avoid resolver errors when resolving…
Browse files Browse the repository at this point in the history
… the test env.
  • Loading branch information
fredrikekre committed Jul 24, 2022
1 parent 369a975 commit 7b104e0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ jobs:
arch: ${{ matrix.arch }}
show-versioninfo: true
- uses: julia-actions/cache@v1
# Add DocumenterTools here to avoid resolver errors when resolving the test env
# see JuliaDocs/Documenter.jl#1887
- name: 'Workaround Pkg resolver error on 1.0'
shell: julia --project=. {0}
run: |
using Pkg
Pkg.add("DocumenterTools")
if: matrix.version == '1.0'
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
Expand Down

0 comments on commit 7b104e0

Please sign in to comment.