Skip to content

Commit

Permalink
test.yml: try to make cleanup conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
mara004 committed Jan 5, 2024
1 parent b36a862 commit b97484e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Run Test
run: pytest -v --showlocals tests/testsuite.py
env:
CLEANUP_OK: 0
CLEANUP_OK: ${{ !inputs.upload_data && 1 || 0 }}

- name: Upload generated data
if: ${{ inputs.upload_data && !cancelled() }}
Expand Down

0 comments on commit b97484e

Please sign in to comment.