Merge pull request #743 from nkeim/fix-compat-nov23 #81
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"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Conda | |
uses: s-weigand/[email protected] | |
with: | |
activate-conda: false | |
conda-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 | |
source activate test | |
python -V | |
conda info | |
conda list | |
- name: Run tests | |
shell: bash | |
run: | | |
source activate test | |
pytest trackpy |