Add extra utilities for the confusion matrix #26
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: Run test | |
on: [push, pull_request] | |
jobs: | |
run-tests: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows, macos] | |
python: ['3.11', '3.12', '3.13'] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup PDM | |
uses: pdm-project/setup-pdm@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
cache: true | |
- name: Setup rust | |
uses: dtolnay/rust-toolchain@stable | |
- name: Run pre-commit hooks | |
uses: pre-commit/action@v3.0.1 | |
- name: Install project | |
run: pdm install | |
- name: Run unit tests | |
run: pdm run pytest |