From 7b104e029f536eb3e86872e852246e9b1e8d33fe Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Sun, 24 Jul 2022 12:22:34 +0200 Subject: [PATCH] Patch CI script for Julia 1.0 to avoid resolver errors when resolving the test env. --- .github/workflows/CI.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 92e4c587d9..e1a207eabb 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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