Skip to content

Update pyproject.toml #3

Update pyproject.toml

Update pyproject.toml #3

Workflow file for this run

name: Unit Tests
on:
push:
branches: [main, dev]
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
unit-tests:
name: Unit Tests (py${{ matrix.python-version }}) [${{ github.ref_name }}]
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 1
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: pyproject.toml
- name: Install dependencies
run: |
python -m pip install -U pip
python -m pip install .[dev]
- name: Run unit tests
run: python -m pytest -q -ra -m "not generate_json"