Skip to content

Commit

Permalink
Fix conda in ci to use create instead of install
Browse files Browse the repository at this point in the history
  • Loading branch information
altheaden committed Sep 10, 2024
1 parent 0e2b7a4 commit 2cb49ce
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,16 @@ jobs:
- if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
name: Install pyremap
run: |
conda install --file dev-spec.txt
conda create -n pyremap_dev --file dev-spec.txt \
python=${{ matrix.python-version }}
conda activate pyremap_dev
python -m pip install .
- if: ${{ steps.skip_check.outputs.should_skip != 'true' }}
name: Run Tests
env:
CHECK_IMAGES: False
run: pytest --pyargs pyremap
run: |
conda activate pyremap_dev
pytest --pyargs pyremap

0 comments on commit 2cb49ce

Please sign in to comment.