From 2c296d545d682aeae05726139667e1d00aa43949 Mon Sep 17 00:00:00 2001 From: Frames White Date: Sat, 18 May 2024 00:14:18 +0800 Subject: [PATCH] Update CI script to create missing files by setting env-var --- .github/workflows/UnitTest.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/UnitTest.yml b/.github/workflows/UnitTest.yml index 456d3d1..5ed9a9a 100644 --- a/.github/workflows/UnitTest.yml +++ b/.github/workflows/UnitTest.yml @@ -42,7 +42,9 @@ jobs: run: | julia --color=yes --check-bounds=yes --project -e "using Pkg; Pkg.test(coverage=true)" rm -rf test/references + export JULIA_REFERENCETESTS_UPDATE=true julia --color=yes --check-bounds=yes --project -e "using Pkg; Pkg.test(coverage=true)" + export JULIA_REFERENCETESTS_UPDATE=false julia --color=yes --check-bounds=yes --project -e "using Pkg; Pkg.test(coverage=true)" - name: Upload Mismatched Files as a Build Artifact uses: actions/upload-artifact@v3