Skip to content

Commit

Permalink
BLD: conda init in separate step
Browse files Browse the repository at this point in the history
  • Loading branch information
nkeim committed May 24, 2024
1 parent 9dd1007 commit 041835b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/test-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,22 @@ jobs:
python-version: ${{ matrix.python }}
channels: conda-forge

- name: Install dependencies
- name: Initialize conda
shell: bash
run: |
conda install pytest numpy scipy matplotlib pandas pytables numba scikit-learn pyyaml looseversion
conda init
- name: Install dependencies
shell: bash
run: |
conda create --name test python=${{ matrix.python }} pytest numpy scipy matplotlib pandas pytables numba scikit-learn pyyaml looseversion
conda activate test
python -V
conda info
conda list
- name: Run tests
shell: bash
run: |
conda activate test
pytest trackpy

0 comments on commit 041835b

Please sign in to comment.