From b97484eeb7af239698df5f21f7fa14038c9ca606 Mon Sep 17 00:00:00 2001 From: geisserml Date: Fri, 5 Jan 2024 16:42:51 +0100 Subject: [PATCH] test.yml: try to make cleanup conditional --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9d6aa70c..60a4a950 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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() }}