Skip to content

Commit

Permalink
BLD: Update broken conda GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
nkeim committed May 24, 2024
1 parent 2a7aab8 commit 6b6e25b
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions .github/workflows/test-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,31 @@ jobs:
python: [3.8, 3.9, "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup Conda
uses: s-weigand/setup-conda@v1
- uses: conda-incubator/setup-miniconda@v3
with:
activate-conda: false
conda-channels: conda-forge
auto-update-conda: true
python-version: ${{ matrix.python }}
channels: conda-forge

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

0 comments on commit 6b6e25b

Please sign in to comment.