Switch to pyproject.toml
#55
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: CI | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Python ${{ matrix.python-version }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v2 | |
- name: Setup Conda Environment | |
uses: conda-incubator/setup-miniconda@v2.2.0 | |
with: | |
miniforge-variant: Mambaforge | |
miniforge-version: latest | |
use-mamba: true | |
channel-priority: strict | |
python-version: ${{ matrix.python-version }} | |
auto-activate-base: false | |
- name: Install dependencies | |
shell: bash -l {0} | |
run: mamba install pytest locket numpy toolz pandas blosc pyzmq pyarrow -c conda-forge | |
- name: Install | |
shell: bash -l {0} | |
run: pip install . | |
- name: Run Tests | |
shell: bash -l {0} | |
run: | | |
set -ex | |
if [ $PYTHON_VERSION == "3.7" ]; then | |
pytest partd --doctest-modules --verbose | |
else | |
pytest partd --verbose | |
fi | |
env: | |
PYTHON_VERSION: ${{ matrix.python-version }} | |