Skip to content

fix: fixing github actions #2

fix: fixing github actions

fix: fixing github actions #2

Workflow file for this run

name: CI Pipeline
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
ci:
name: Continuous Integration
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.12]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies via UV
run: uv sync
- name: Run Pre-commit checks
uses: pre-commit/action@v3.0.0
with:
extra_args: --all-files
- name: Run type checking
run: uv run mypy src/
- name: Run linter
run: uv run ruff check src/
- name: Run tests
run: uv run pytest -v --tb=short --cov=src --cov-report=xml:coverage.xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
files: ./coverage.xml
fail_ci_if_error: true