From d3c369fc456c8105827946752b054df85e111488 Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Mon, 9 Sep 2024 00:48:21 +0100 Subject: [PATCH] Drop caching the tox env when Python is installed via conda --- .github/workflows/osx_startup.yaml | 9 --------- 1 file changed, 9 deletions(-) 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: