diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 80d3d17..b5e9651 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -23,11 +23,22 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - lfs: true + lfs: false + + - name: Cache conda + uses: actions/cache@v3 + env: + # Increase this value to reset cache if environment.yml has not changed + CACHE_NUMBER: 0 + with: + path: ~/conda_pkgs_dir + key: + ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.yml') }} - uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3.0.4 + if: matrix.os != "windows-latest" with: - auto-update-conda: true + miniforge-version: latest python-version: ${{ matrix.python-version }} environment-file: ./environment.yml