Fix conda workflow #113
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Conda | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
TestConda: | |
name: ${{ matrix.os }} - Python ${{ matrix.python }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
python: [3.8, 3.9, "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
auto-update-conda: true | |
python-version: ${{ matrix.python }} | |
channels: conda-forge | |
- name: Initialize conda | |
shell: bash | |
run: | | |
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 |