Skip to content

Fix conda workflow #105

Fix conda workflow

Fix conda workflow #105

Workflow file for this run

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: Setup Environment
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