Skip to content

Commit 5b46663

Browse files
committed
moving to more robust artifact handling
1 parent ea68f03 commit 5b46663

File tree

2 files changed

+191
-232
lines changed

2 files changed

+191
-232
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up environment
2121
run: |
2222
apt-get update && apt-get install -y git openssh-client libstdc++6
23-
mkdir -p /app/test_data
23+
mkdir -p /app/test_data /app/test_data/results
2424
2525
- name: Copy files
2626
run: |
@@ -66,6 +66,16 @@ jobs:
6666
pip install black
6767
black --check /app/tests/
6868
69+
- name: Create test data directories
70+
run: |
71+
mkdir -p /app/test_data/results
72+
chmod -R 777 /app/test_data # Ensure write permissions
73+
6974
- name: Run tests
7075
run: |
71-
pytest /app/tests/pytest_pipeline_check.py -v -s
76+
cd /app # Change to app directory where test_data exists
77+
pytest tests/pytest_pipeline_check.py -v -s
78+
79+
- name: Clean up test artifacts (optional)
80+
run: |
81+
rm -rf /app/test_data/* # Clean up after tests if needed

0 commit comments

Comments
 (0)