From ba90d8606259da60a19ef2fe23f982bec3967e13 Mon Sep 17 00:00:00 2001 From: Milan Bouchet-Valat Date: Sun, 3 Jan 2021 22:05:44 +0100 Subject: [PATCH] Fix CI (#64) stdlib modules need to use a custom rule, otherwise the code with which Julia was built is used. --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e77501f..56bc78a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,10 @@ jobs: ${{ runner.os }}-test- ${{ runner.os }}- - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-runtest@v1 + - name: Run tests + run: | + julia --project --color=yes -e 'using UUIDs; write("Project.toml", replace(read("Project.toml", String), r"uuid = .*?\n" =>"uuid = \"$(uuid4())\"\n"));' + julia --project --color=yes --check-bounds=yes -e 'import Pkg; Pkg.build(); Pkg.test(; coverage=true)' - uses: julia-actions/julia-processcoverage@v1 - uses: codecov/codecov-action@v1 with: