Skip to content

Prepare devel/0.2.0 branch for active development #16

Prepare devel/0.2.0 branch for active development

Prepare devel/0.2.0 branch for active development #16

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Print tool versions
run: |
python --version
pip --version
black --version
ruff --version
pytest --version
if: matrix.python-version == '3.12'
- name: Run tests
run: |
pytest -v
- name: Check code formatting
run: |
black --check src/ tests/
if: matrix.python-version == '3.12'
- name: Lint
run: |
ruff check src/ tests/
if: matrix.python-version == '3.12'