Skip to content

Commit

Permalink
fix(actions): add conda test env paths
Browse files Browse the repository at this point in the history
  • Loading branch information
sqr00t authored Jun 5, 2024
1 parent 4fb2725 commit 470a5d8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
if: runner.os == 'macOS'
run: |
brew install coreutils direnv
$CONDA/bin/python -m pip install --upgrade pip
$CONDA/bin/python -m pip install -r requirements.txt
$CONDA/envs/test/bin/python -m pip install --upgrade pip
$CONDA/envs/test/bin/python -m pip install -r requirements.txt
conda config --remove channels defaults
conda config --add channels conda-forge
conda config --add channels nodefaults
Expand All @@ -55,8 +55,8 @@ jobs:
if: runner.os == 'Linux'
run: |
sudo apt-get update -y && sudo apt-get install -y direnv
$CONDA/bin/python -m pip install --upgrade pip
$CONDA/bin/python -m pip install -r requirements.txt
$CONDA/envs/test/bin/python -m pip install --upgrade pip
$CONDA/envs/test/bin/python -m pip install -r requirements.txt
conda config --remove channels defaults
conda config --add channels conda-forge
conda config --add channels nodefaults
Expand Down Expand Up @@ -92,4 +92,4 @@ jobs:

- name: Run pytest
run: |
$CONDA/bin/python -m pytest -vvv
$CONDA/envs/test/bin/python -m pytest -vvv

0 comments on commit 470a5d8

Please sign in to comment.