From 5e342b4c83e7b62d7a4e1e2ae97807eae85b46da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gregor=20Jer=C5=A1e?= Date: Tue, 17 Dec 2024 17:54:46 +0100 Subject: [PATCH] Upload processing container data --- .github/workflows/ci.yml | 16 +++++++++++++++- docs/CHANGELOG.rst | 1 + tox.ini | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30624191c..236c4c82b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,7 +96,7 @@ jobs: - name: Migrations run: | tox -e migrations - + - name: Run entire test suite if: github.event_name != 'pull_request' timeout-minutes: 120 @@ -109,6 +109,20 @@ jobs: run: | tox -e ${{ matrix.toxenv }}-partial + - name: List files in test data directory + if: always() + run: | + ls -a -R ${{ github.workspace }}/tests/.test_data + + - name: Upload artifacts + if: always() + uses: actions/upload-artifact@v4 + with: + path: ${{ github.workspace }}/tests/.test_data/* + retention-days: 1 + name: test_files + include-hidden-files: true + build: runs-on: arc-runner needs: test diff --git a/docs/CHANGELOG.rst b/docs/CHANGELOG.rst index 5b279f06d..9788b420b 100644 --- a/docs/CHANGELOG.rst +++ b/docs/CHANGELOG.rst @@ -13,6 +13,7 @@ Unreleased Added ----- +- Save test folder data using actions/upload-artifact Changed ------- diff --git a/tox.ini b/tox.ini index 4a263a08a..89cb5cb7c 100644 --- a/tox.ini +++ b/tox.ini @@ -35,7 +35,7 @@ commands = partial: --only-changes-to \ partial: {env:RESOLWE_TEST_ONLY_CHANGES_TO:master} \ partial: --changes-file-types .resolwebio-filetypes.yml \ - --verbosity 2 --parallel + --verbosity 2 --parallel --keep-data # Check types. [testenv:mypy]