Skip to content

Feat: Add protection warnings #116

Feat: Add protection warnings

Feat: Add protection warnings #116

Workflow file for this run

name: Unit Tests
concurrency:
group: unit-tests-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
pull-requests: read
contents: read
on:
push:
branches: [main, development, staging]
pull_request:
branches: [main, development, staging]
types: [opened, synchronize, reopened, ready_for_review]
workflow_dispatch:
jobs:
unit-tests:
name: Unit Tests / Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.draft == false }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- name: Check-out repository
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
uv sync --all-extras
- name: Run unit tests
run: |
uv run pytest tests/unit_tests -v --tb=short