Skip to content

Merge pull request #24 from vogelbam/add-tag-filter #76

Merge pull request #24 from vogelbam/add-tag-filter

Merge pull request #24 from vogelbam/add-tag-filter #76

Workflow file for this run

name: Test
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install the latest version of rye
uses: eifinger/setup-rye@v3
- name: Install dependencies
run: |
cd back
rye sync
- name: Run tests
run: |
cd back
rye run pytest --cov=src/whombat --cov-report=xml -n auto
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
files: back/coverage.xml
fail_ci_if_error: true
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}