Start testing for python 12 #352
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: cpu-tests | |
on: | |
pull_request: | |
push: | |
branches: master | |
jobs: | |
test-linux: | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 5 | |
matrix: | |
python-version: [ '3.7', '3.11', '3.12'] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
pip install -e . | |
- name: Test with unittest | |
run: | | |
python -m unittest -k CPU | |
- name: Test cpu inference | |
run: | | |
python -m unittest -k knee_itk |