Skip to content

Commit

Permalink
use only conda-forge and fix cache
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelaye committed Nov 26, 2024
1 parent 22a064c commit aecaeb6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,16 @@ jobs:
activate-environment: test_env
use-mamba: true
python-version: "3.9"
channels: conda-forge
channel-priority: strict
conda-remove-defaults: true

- name: Cache conda env
uses: actions/cache@v3
with:
path: |
/usr/share/miniconda/envs/test_env
~/.conda/pkgs
${{ env.CONDA }}/envs/test_env
${{ env.CONDA }}/pkgs
key: conda-${{ runner.os }}-${{ hashFiles('pyproject.toml') }}
restore-keys: |
conda-${{ runner.os }}-
Expand Down

0 comments on commit aecaeb6

Please sign in to comment.