From db1cc946848f3bf50f54216978db6a6d62bd03ca Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Sun, 8 Sep 2024 20:29:31 +0100 Subject: [PATCH] Use output of setup-python action to get full Python version --- .github/workflows/api.yaml | 9 +++------ .github/workflows/cwl_conformance.yaml | 9 +++------ .github/workflows/db_indexes.yaml | 9 +++------ .github/workflows/first_startup.yaml | 7 ++----- .github/workflows/framework_tools.yaml | 9 +++------ .github/workflows/framework_workflows.yaml | 9 +++------ .github/workflows/integration.yaml | 9 +++------ .github/workflows/integration_selenium.yaml | 9 +++------ .github/workflows/lint.yaml | 9 +++------ .github/workflows/lint_openapi_schema.yml | 9 +++------ .github/workflows/mulled.yaml | 9 +++------ .github/workflows/osx_startup.yaml | 9 --------- .github/workflows/performance.yaml | 9 +++------ .github/workflows/reports_startup.yaml | 7 ++----- .github/workflows/selenium.yaml | 9 +++------ .github/workflows/toolshed.yaml | 9 +++------ .github/workflows/unit-postgres.yaml | 9 +++------ .github/workflows/unit.yaml | 9 +++------ 18 files changed, 49 insertions(+), 109 deletions(-) diff --git a/.github/workflows/api.yaml b/.github/workflows/api.yaml index 8eb5a2dd564a..d5cc4c496886 100644 --- a/.github/workflows/api.yaml +++ b/.github/workflows/api.yaml @@ -52,20 +52,17 @@ jobs: node-version: '18.12.1' cache: 'yarn' cache-dependency-path: 'galaxy root/client/yarn.lock' - - uses: actions/setup-python@v5 + - id: setup-python + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip' cache-dependency-path: 'galaxy root/requirements.txt' - - name: Get full Python version - id: full-python-version - shell: bash - run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - name: Cache galaxy venv uses: actions/cache@v4 with: path: 'galaxy root/.venv' - key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-api + key: gxy-venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }}-api - name: Run tests run: ./run_tests.sh --coverage --skip_flakey_fails -api lib/galaxy_test/api -- --num-shards=2 --shard-id=${{ matrix.chunk }} working-directory: 'galaxy root' diff --git a/.github/workflows/cwl_conformance.yaml b/.github/workflows/cwl_conformance.yaml index 10fb215bf042..35a74a465518 100644 --- a/.github/workflows/cwl_conformance.yaml +++ b/.github/workflows/cwl_conformance.yaml @@ -45,20 +45,17 @@ jobs: node-version: '18.12.1' cache: 'yarn' cache-dependency-path: 'galaxy root/client/yarn.lock' - - uses: actions/setup-python@v5 + - id: setup-python + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip' cache-dependency-path: 'galaxy root/requirements.txt' - - name: Get full Python version - id: full-python-version - shell: bash - run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - name: Cache galaxy venv uses: actions/cache@v4 with: path: 'galaxy root/.venv' - key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-api + key: gxy-venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }}-api - name: Run tests run: ./run_tests.sh --coverage --skip_flakey_fails -cwl lib/galaxy_test/api/cwl -- -m "${{ matrix.marker }} and ${{ matrix.conformance-version }}" working-directory: 'galaxy root' diff --git a/.github/workflows/db_indexes.yaml b/.github/workflows/db_indexes.yaml index 5141cfc04baa..966ff7b94eec 100644 --- a/.github/workflows/db_indexes.yaml +++ b/.github/workflows/db_indexes.yaml @@ -42,20 +42,17 @@ jobs: - uses: actions/checkout@v4 with: path: 'galaxy root' - - uses: actions/setup-python@v5 + - id: setup-python + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip' cache-dependency-path: 'galaxy root/requirements.txt' - - name: Get full Python version - id: full-python-version - shell: bash - run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - name: Cache tox env uses: actions/cache@v4 with: path: .tox - key: tox-cache-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-check-indexes + key: tox-cache-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }}-check-indexes - name: Install tox run: pip install tox - name: Set database connection on PostgreSQL diff --git a/.github/workflows/first_startup.yaml b/.github/workflows/first_startup.yaml index e35170d063a0..38327af91110 100644 --- a/.github/workflows/first_startup.yaml +++ b/.github/workflows/first_startup.yaml @@ -37,20 +37,17 @@ jobs: cache: 'yarn' cache-dependency-path: 'galaxy root/client/yarn.lock' - name: Set up Python + id: setup-python uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip' cache-dependency-path: 'galaxy root/requirements.txt' - - name: Get full Python version - id: full-python-version - shell: bash - run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - name: Cache tox env uses: actions/cache@v4 with: path: .tox - key: tox-cache-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-first-startup + key: tox-cache-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }}-first-startup - name: Restore client cache uses: actions/cache@v4 with: diff --git a/.github/workflows/framework_tools.yaml b/.github/workflows/framework_tools.yaml index a55dfa316488..12996eab0a3e 100644 --- a/.github/workflows/framework_tools.yaml +++ b/.github/workflows/framework_tools.yaml @@ -48,20 +48,17 @@ jobs: node-version: '18.12.1' cache: 'yarn' cache-dependency-path: 'galaxy root/client/yarn.lock' - - uses: actions/setup-python@v5 + - id: setup-python + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip' cache-dependency-path: 'galaxy root/requirements.txt' - - name: Get full Python version - id: full-python-version - shell: bash - run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - name: Cache galaxy venv uses: actions/cache@v4 with: path: 'galaxy root/.venv' - key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-framework-tools + key: gxy-venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }}-framework-tools - name: Run tests run: ./run_tests.sh --coverage --framework-tools working-directory: 'galaxy root' diff --git a/.github/workflows/framework_workflows.yaml b/.github/workflows/framework_workflows.yaml index 93ab6c0bbf1a..aba79fb884cf 100644 --- a/.github/workflows/framework_workflows.yaml +++ b/.github/workflows/framework_workflows.yaml @@ -48,20 +48,17 @@ jobs: node-version: '18.12.1' cache: 'yarn' cache-dependency-path: 'galaxy root/client/yarn.lock' - - uses: actions/setup-python@v5 + - id: setup-python + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip' cache-dependency-path: 'galaxy root/requirements.txt' - - name: Get full Python version - id: full-python-version - shell: bash - run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - name: Cache galaxy venv uses: actions/cache@v4 with: path: 'galaxy root/.venv' - key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-framework-workflows + key: gxy-venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }}-framework-workflows - name: Run tests run: ./run_tests.sh --coverage --framework-workflows working-directory: 'galaxy root' diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 4a62c094e71d..b257bf36e141 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -73,20 +73,17 @@ jobs: node-version: '18.12.1' cache: 'yarn' cache-dependency-path: 'galaxy root/client/yarn.lock' - - uses: actions/setup-python@v5 + - id: setup-python + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip' cache-dependency-path: 'galaxy root/requirements.txt' - - name: Get full Python version - id: full-python-version - shell: bash - run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - name: Cache galaxy venv uses: actions/cache@v4 with: path: 'galaxy root/.venv' - key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-integration + key: gxy-venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }}-integration - name: Install Apptainer's singularity uses: eWaterCycle/setup-apptainer@v2 - name: Run tests diff --git a/.github/workflows/integration_selenium.yaml b/.github/workflows/integration_selenium.yaml index 311fb16a96f0..691c7d2225c4 100644 --- a/.github/workflows/integration_selenium.yaml +++ b/.github/workflows/integration_selenium.yaml @@ -51,20 +51,17 @@ jobs: - uses: actions/checkout@v4 with: path: 'galaxy root' - - uses: actions/setup-python@v5 + - id: setup-python + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip' cache-dependency-path: 'galaxy root/requirements.txt' - - name: Get full Python version - id: full-python-version - shell: bash - run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - name: Cache galaxy venv uses: actions/cache@v4 with: path: 'galaxy root/.venv' - key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-integration-selenium + key: gxy-venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }}-integration-selenium - uses: actions/setup-node@v4 with: node-version: '18.12.1' diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 748ec5329b80..1ed4ddbb31cc 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -29,7 +29,8 @@ jobs: CORE_PATH: 'lib/galaxy/dependencies/pinned-requirements.txt' steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - id: setup-python + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip' @@ -37,15 +38,11 @@ jobs: ${{ env.LINT_PATH }} ${{ env.TYPE_PATH }} ${{ env.CORE_PATH }} - - name: Get full Python version - id: full-python-version - shell: bash - run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - name: Cache tox env uses: actions/cache@v4 with: path: .tox - key: tox-cache-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles(env.LINT_PATH, env.TYPE_PATH, env.CORE_PATH) }}-lint + key: tox-cache-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles(env.LINT_PATH, env.TYPE_PATH, env.CORE_PATH) }}-lint - name: Install tox run: pip install tox - name: Run linting diff --git a/.github/workflows/lint_openapi_schema.yml b/.github/workflows/lint_openapi_schema.yml index 2a94508ce6f2..d5926059118e 100644 --- a/.github/workflows/lint_openapi_schema.yml +++ b/.github/workflows/lint_openapi_schema.yml @@ -30,20 +30,17 @@ jobs: node-version: '18.12.1' cache: 'yarn' cache-dependency-path: 'galaxy root/client/yarn.lock' - - uses: actions/setup-python@v5 + - id: setup-python + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip' cache-dependency-path: 'galaxy root/requirements.txt' - - name: Get full Python version - id: full-python-version - shell: bash - run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - name: Cache galaxy venv uses: actions/cache@v4 with: path: 'galaxy root/.venv' - key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-api + key: gxy-venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }}-api - name: Install dependencies run: ./scripts/common_startup.sh --dev-wheels --skip-client-build working-directory: 'galaxy root' diff --git a/.github/workflows/mulled.yaml b/.github/workflows/mulled.yaml index 4d654af6ddbb..64283d24a5fa 100644 --- a/.github/workflows/mulled.yaml +++ b/.github/workflows/mulled.yaml @@ -25,20 +25,17 @@ jobs: - uses: actions/checkout@v4 with: path: 'galaxy root' - - uses: actions/setup-python@v5 + - id: setup-python + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip' cache-dependency-path: 'galaxy root/requirements.txt' - - name: Get full Python version - id: full-python-version - shell: bash - run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - name: Cache tox env uses: actions/cache@v4 with: path: .tox - key: tox-cache-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-mulled + key: tox-cache-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }}-mulled - name: Install Apptainer's singularity uses: eWaterCycle/setup-apptainer@v2 - name: Install tox diff --git a/.github/workflows/osx_startup.yaml b/.github/workflows/osx_startup.yaml index 8b4b155efbd3..22ffc4d7e5b6 100644 --- a/.github/workflows/osx_startup.yaml +++ b/.github/workflows/osx_startup.yaml @@ -34,20 +34,11 @@ jobs: node-version: '18.12.1' cache: 'yarn' cache-dependency-path: 'galaxy root/client/yarn.lock' - - name: Get full Python version - id: full-python-version - shell: bash - run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - name: Cache pip dir uses: actions/cache@v4 with: path: ~/Library/Caches/pip key: pip-cache-${{ matrix.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }} - - name: Cache tox env - uses: actions/cache@v4 - with: - path: .tox - key: tox-cache-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-osx - name: Install miniforge # use this job to test using Python from a conda environment uses: conda-incubator/setup-miniconda@v3 with: diff --git a/.github/workflows/performance.yaml b/.github/workflows/performance.yaml index ab4063c51f7d..6ad4e724039f 100644 --- a/.github/workflows/performance.yaml +++ b/.github/workflows/performance.yaml @@ -47,20 +47,17 @@ jobs: node-version: '18.12.1' cache: 'yarn' cache-dependency-path: 'galaxy root/client/yarn.lock' - - uses: actions/setup-python@v5 + - id: setup-python + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip' cache-dependency-path: 'galaxy root/requirements.txt' - - name: Get full Python version - id: full-python-version - shell: bash - run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - name: Cache galaxy venv uses: actions/cache@v4 with: path: 'galaxy root/.venv' - key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-performance + key: gxy-venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-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 working-directory: 'galaxy root' diff --git a/.github/workflows/reports_startup.yaml b/.github/workflows/reports_startup.yaml index 137c1a5e1204..625a610d3e9e 100644 --- a/.github/workflows/reports_startup.yaml +++ b/.github/workflows/reports_startup.yaml @@ -32,20 +32,17 @@ jobs: cache: 'yarn' cache-dependency-path: 'galaxy root/client/yarn.lock' - name: Set up Python + id: setup-python uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip' cache-dependency-path: 'galaxy root/requirements.txt' - - name: Get full Python version - id: full-python-version - shell: bash - run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - name: Cache galaxy venv uses: actions/cache@v4 with: path: 'galaxy root/.venv' - key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-reports-startup + key: gxy-venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }}-reports-startup - name: Install tox run: pip install tox - name: Run tests diff --git a/.github/workflows/selenium.yaml b/.github/workflows/selenium.yaml index 195eb02b3de0..445b9a456815 100644 --- a/.github/workflows/selenium.yaml +++ b/.github/workflows/selenium.yaml @@ -56,20 +56,17 @@ jobs: node-version: '18.12.1' cache: 'yarn' cache-dependency-path: 'galaxy root/client/yarn.lock' - - uses: actions/setup-python@v5 + - id: setup-python + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip' cache-dependency-path: 'galaxy root/requirements.txt' - - name: Get full Python version - id: full-python-version - shell: bash - run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - name: Cache galaxy venv uses: actions/cache@v4 with: path: 'galaxy root/.venv' - key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-selenium + key: gxy-venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }}-selenium - name: Restore client cache uses: actions/cache@v4 with: diff --git a/.github/workflows/toolshed.yaml b/.github/workflows/toolshed.yaml index fae33b4e1225..7d86a658b335 100644 --- a/.github/workflows/toolshed.yaml +++ b/.github/workflows/toolshed.yaml @@ -42,20 +42,17 @@ jobs: node-version: '18.12.1' cache: 'yarn' cache-dependency-path: 'galaxy root/client/yarn.lock' - - uses: actions/setup-python@v5 + - id: setup-python + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip' cache-dependency-path: 'galaxy root/requirements.txt' - - name: Get full Python version - id: full-python-version - shell: bash - run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - name: Cache galaxy venv uses: actions/cache@v4 with: path: 'galaxy root/.venv' - key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-toolshed + key: gxy-venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }}-toolshed - name: Install dependencies run: ./scripts/common_startup.sh --dev-wheels --skip-client-build working-directory: 'galaxy root' diff --git a/.github/workflows/unit-postgres.yaml b/.github/workflows/unit-postgres.yaml index 92ee7795854c..d9b9e5825051 100644 --- a/.github/workflows/unit-postgres.yaml +++ b/.github/workflows/unit-postgres.yaml @@ -41,20 +41,17 @@ jobs: node-version: '18.12.1' cache: 'yarn' cache-dependency-path: 'galaxy root/client/yarn.lock' - - uses: actions/setup-python@v5 + - id: setup-python + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip' cache-dependency-path: 'galaxy root/requirements.txt' - - name: Get full Python version - id: full-python-version - shell: bash - run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - name: Cache galaxy venv uses: actions/cache@v4 with: path: 'galaxy root/.venv' - key: gxy-venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-unit-postgres + key: gxy-venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-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 working-directory: 'galaxy root' diff --git a/.github/workflows/unit.yaml b/.github/workflows/unit.yaml index 80f54e87a704..f2e086eef019 100644 --- a/.github/workflows/unit.yaml +++ b/.github/workflows/unit.yaml @@ -30,20 +30,17 @@ jobs: node-version: '18.12.1' cache: 'yarn' cache-dependency-path: 'galaxy root/client/yarn.lock' - - uses: actions/setup-python@v5 + - id: setup-python + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip' cache-dependency-path: 'galaxy root/requirements.txt' - - name: Get full Python version - id: full-python-version - shell: bash - run: echo "version=$(python -c 'import sys; print("-".join(str(v) for v in sys.version_info))')" >> $GITHUB_OUTPUT - name: Cache tox env uses: actions/cache@v4 with: path: .tox - key: tox-cache-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-unit + key: tox-cache-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('galaxy root/requirements.txt') }}-unit - name: Install ffmpeg run: sudo apt-get update && sudo apt-get -y install ffmpeg - name: Install tox