[pre-commit.ci] pre-commit autoupdate #49
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: | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: true | |
matrix: | |
os: | |
- windows-2019 | |
- ubuntu-20.04 | |
- macos-latest | |
python: | |
- 3.8 | |
- 3.9 | |
- "3.10" | |
- 3.11 | |
steps: | |
- uses: actions/checkout@v2 | |
with: # no need for the history | |
fetch-depth: 1 | |
- name: Set up Python ${{ matrix.python }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools | |
pip install --upgrade --force-reinstall --no-cache-dir --editable=".[test]" | |
- name: Test with pytest | |
run: | | |
pytest pydra_ml/tests/test_classifier.py |