Skip to content

Commit 32ddb96

Browse files
committed
fix macos dir error
1 parent e06465c commit 32ddb96

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ jobs:
5555
python-version: ${{ matrix.python }}
5656
cache-dependency-glob: pyproject.toml
5757

58+
- name: Ensure figure directory exists
59+
run: mkdir -p "$GITHUB_WORKSPACE/tests/figures"
60+
5861
- name: Cache downloaded data
5962
uses: actions/cache@v4
6063
with:
@@ -77,7 +80,7 @@ jobs:
7780
uses: actions/upload-artifact@v4
7881
with:
7982
name: visual_test_results_${{ matrix.name }}
80-
path: /home/runner/work/squidpy/squidpy/tests/figures/*
83+
path: ${{ github.workspace }}/tests/figures/*
8184

8285
- name: Upload coverage data
8386
if: matrix.test-type == 'coverage'

0 commit comments

Comments
 (0)