Skip to content

Merge pull request #26 from mbsantiago/fix/gh-25-remove-key-shortcut-… #78

Merge pull request #26 from mbsantiago/fix/gh-25-remove-key-shortcut-…

Merge pull request #26 from mbsantiago/fix/gh-25-remove-key-shortcut-… #78

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 }}