Skip to content

filter per email admins #60

filter per email admins

filter per email admins #60

Workflow file for this run

name: Python Tests & CodeCov
on:
pull_request:
branches:
- main
- dev
paths:
- '**/*.py'
jobs:
test:
name: Run Pytest
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install uv
run: |
curl -Ls https://astral.sh/uv/install.sh | bash
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Sync dependencies with uv
run: uv sync
- name: Run tests with pytest
run: |
source .venv/bin/activate
PYTHONPATH=src pytest --cov=src --cov-branch --cov-report=xml
- name: Upload results to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}