From 6524e1f344b049215b7bdbfc5df9ff095a5741a6 Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Sat, 19 Mar 2022 03:52:23 +0000 Subject: [PATCH] Fix path of venv when caching --- .github/workflows/api.yaml | 2 +- .github/workflows/cwl_conformance.yaml | 2 +- .github/workflows/framework.yaml | 2 +- .github/workflows/integration.yaml | 2 +- .github/workflows/integration_selenium.yaml | 2 +- .github/workflows/performance.yaml | 2 +- .github/workflows/selenium.yaml | 2 +- .github/workflows/selenium_beta.yaml | 2 +- .github/workflows/toolshed.yaml | 2 +- .github/workflows/unit-postgres.yaml | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/api.yaml b/.github/workflows/api.yaml index 83c1693deba7..6f8e17ddc1af 100644 --- a/.github/workflows/api.yaml +++ b/.github/workflows/api.yaml @@ -60,7 +60,7 @@ jobs: - name: Cache galaxy venv uses: actions/cache@v2 with: - path: .venv + path: 'galaxy root/.venv' key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-api - name: Run tests run: ./run_tests.sh --coverage --skip_flakey_fails -api diff --git a/.github/workflows/cwl_conformance.yaml b/.github/workflows/cwl_conformance.yaml index cd519f7779e9..18c9596452ca 100644 --- a/.github/workflows/cwl_conformance.yaml +++ b/.github/workflows/cwl_conformance.yaml @@ -53,7 +53,7 @@ jobs: - name: Cache galaxy venv uses: actions/cache@v2 with: - path: .venv + path: 'galaxy root/.venv' key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }} - name: Run tests run: ./run_tests.sh --coverage --skip_flakey_fails -cwl lib/galaxy_test/api/cwl -- -m "${{ matrix.marker }} and ${{ matrix.conformance-version }}" diff --git a/.github/workflows/framework.yaml b/.github/workflows/framework.yaml index ca2da0ab98d3..58a55bbc1e21 100644 --- a/.github/workflows/framework.yaml +++ b/.github/workflows/framework.yaml @@ -58,7 +58,7 @@ jobs: - name: Cache galaxy venv uses: actions/cache@v2 with: - path: .venv + path: 'galaxy root/.venv' key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-framework - name: Run tests run: ./run_tests.sh --coverage --framework diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index d90f129e2776..9be78baa1b21 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -82,7 +82,7 @@ jobs: - name: Cache galaxy venv uses: actions/cache@v2 with: - path: .venv + path: 'galaxy root/.venv' key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-integration - name: Install ffmpeg run: sudo apt-get update && sudo apt-get -y install ffmpeg diff --git a/.github/workflows/integration_selenium.yaml b/.github/workflows/integration_selenium.yaml index 3ea8bb1df52f..e3a45b93f87d 100644 --- a/.github/workflows/integration_selenium.yaml +++ b/.github/workflows/integration_selenium.yaml @@ -61,7 +61,7 @@ jobs: - name: Cache galaxy venv uses: actions/cache@v2 with: - path: .venv + path: 'galaxy root/.venv' key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-integration-selenium - uses: mvdbeek/gha-yarn-cache@master with: diff --git a/.github/workflows/performance.yaml b/.github/workflows/performance.yaml index 909669503afe..7b797e6360db 100644 --- a/.github/workflows/performance.yaml +++ b/.github/workflows/performance.yaml @@ -57,7 +57,7 @@ jobs: - name: Cache galaxy venv uses: actions/cache@v2 with: - path: .venv + path: 'galaxy root/.venv' key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-performance - name: Run tests run: ./run_tests.sh --ci_test_metrics --structured_data_html --structured_data_report_file "test.json" --skip_flakey_fails -api lib/galaxy_test/performance diff --git a/.github/workflows/selenium.yaml b/.github/workflows/selenium.yaml index 86f5a1da6d3a..fad8b7dd1691 100644 --- a/.github/workflows/selenium.yaml +++ b/.github/workflows/selenium.yaml @@ -61,7 +61,7 @@ jobs: - name: Cache galaxy venv uses: actions/cache@v2 with: - path: .venv + path: 'galaxy root/.venv' key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-selenium - uses: mvdbeek/gha-yarn-cache@master with: diff --git a/.github/workflows/selenium_beta.yaml b/.github/workflows/selenium_beta.yaml index 6e0735eac147..986600591e46 100644 --- a/.github/workflows/selenium_beta.yaml +++ b/.github/workflows/selenium_beta.yaml @@ -62,7 +62,7 @@ jobs: - name: Cache galaxy venv uses: actions/cache@v2 with: - path: .venv + path: 'galaxy root/.venv' key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-selenium-beta - uses: mvdbeek/gha-yarn-cache@master with: diff --git a/.github/workflows/toolshed.yaml b/.github/workflows/toolshed.yaml index b82f40963cd0..e29fb3894556 100644 --- a/.github/workflows/toolshed.yaml +++ b/.github/workflows/toolshed.yaml @@ -50,7 +50,7 @@ jobs: - name: Cache galaxy venv uses: actions/cache@v2 with: - path: .venv + path: 'galaxy root/.venv' key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-toolshed - name: Run tests run: './run_tests.sh -toolshed' diff --git a/.github/workflows/unit-postgres.yaml b/.github/workflows/unit-postgres.yaml index 0063a6e28d8a..122273c13105 100644 --- a/.github/workflows/unit-postgres.yaml +++ b/.github/workflows/unit-postgres.yaml @@ -51,7 +51,7 @@ jobs: - name: Cache galaxy venv uses: actions/cache@v2 with: - path: .venv + path: 'galaxy root/.venv' key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-unit-postgres - name: Run migration tests run: ./run_tests.sh -unit test/unit/data/model/migrations/test_migrations.py