Skip to content

Commit c9d57c0

Browse files
committed
Next try
1 parent 501aad2 commit c9d57c0

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/ReusableTest.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,17 @@ jobs:
6464
run: |
6565
Xvfb :99 -screen 0 1024x768x24 &
6666
echo "DISPLAY=:99" >> $GITHUB_ENV
67+
- name: Resolve and instantiate test environment
68+
shell: bash
69+
run: |
70+
JULIA_VERSION=$(julia --version | awk '{print $3}' | cut -d'.' -f1,2)
71+
TEST_MANIFEST="test/Manifest-v${JULIA_VERSION}.toml"
72+
TEST_TARGET="test/Manifest.toml"
73+
if [ -f "$TEST_MANIFEST" ] && [ ! -f "$TEST_TARGET" ]; then
74+
cp "$TEST_MANIFEST" "$TEST_TARGET"
75+
echo "Copied $TEST_MANIFEST to $TEST_TARGET"
76+
fi
77+
julia --project=test -e "using Pkg; Pkg.resolve(); Pkg.instantiate()"
6778
- uses: julia-actions/julia-buildpkg@v1
6879

6980
- uses: julia-actions/julia-runtest@v1

0 commit comments

Comments
 (0)