[pre-commit.ci] pre-commit autoupdate #84
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-latest | |
- ubuntu-latest | |
- macos-latest | |
python: | |
- 3.8 | |
- 3.9 | |
- "3.10" | |
- "3.11" | |
steps: | |
- uses: actions/[email protected] | |
with: # no need for the history | |
fetch-depth: 1 | |
- name: Set up Python ${{ matrix.python }} | |
uses: actions/[email protected] | |
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 |