Skip to content

Merge branch 'dev_py313' into 'main' #141

Merge branch 'dev_py313' into 'main'

Merge branch 'dev_py313' into 'main' #141

Workflow file for this run

name: Tests
on: [push]
jobs:
linting:
runs-on: ubuntu-latest
steps:
- name: setup Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: checkout
uses: actions/checkout@v4
- name: lint
run: |
pip install isort black[jupyter] flake8-docstrings
isort --check . -v
black --check */ -v
flake8 . -v
testing:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest] # [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.9", "3.10", "3.13"]
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup python ${{ matrix.python-version }} on ${{ matrix.os }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: run tests
run: |
git lfs fetch
git lfs checkout
pip install .[TEST]
pytest --cov=. --cov-config=pyproject.toml --cov-report term \
--cov-report xml:./tests/coverage.xml
- name: upload coverage report
uses: actions/upload-artifact@v4
with:
name: coverage_report_${{ matrix.os }}_${{ matrix.python-version }}
path: ./tests/coverage.xml