Skip to content

Merge pull request #69 from stuartmaxwell:new-hook-post_save_post #50

Merge pull request #69 from stuartmaxwell:new-hook-post_save_post

Merge pull request #69 from stuartmaxwell:new-hook-post_save_post #50

Workflow file for this run

name: Coverage Report from CodeCov
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
jobs:
test:
name: Run test and collect coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v2
- name: Set up Python
run: uv python install
- name: Install the project
run: uv sync --no-dev --extra test
- name: Run tests
run: uv run pytest --cov --cov-report=xml
- name: Upload results to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}