Skip to content

Update codecov/codecov-action digest to 5a10915 #106

Update codecov/codecov-action digest to 5a10915

Update codecov/codecov-action digest to 5a10915 #106

Workflow file for this run

name: API workflow
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
name: Test python API
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install requirements
run: pip install -r requirements.txt
- name: Run tests and collect coverage
run: pytest --cov=app --cov-report=xml
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}