Skip to content

chore: update Python compatibility and enhance test coverage #7

chore: update Python compatibility and enhance test coverage

chore: update Python compatibility and enhance test coverage #7

Workflow file for this run

name: Unit Tests
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
on:
pull_request:
branches: [main]
paths:
- '**/*.py'
- 'requirements.txt'
- 'pyproject.toml'
- '.github/workflows/tests-unit.yaml'
push:
branches: [main]
paths:
- '**/*.py'
- 'requirements.txt'
- 'pyproject.toml'
- '.github/workflows/tests-unit.yaml'
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout Code Repository
uses: actions/checkout@v4.2.2
- name: Set up Python 3.12
uses: actions/setup-python@v5.6.0
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install .[dev]
- name: Run unit tests
run: python -m pytest tests/unit