Skip to content

update codecov workflow #2

update codecov workflow

update codecov workflow #2

name: Codecov Workflow
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
name: Test python scripts
steps:
- uses: actions/checkout@v4
- name: Install requirements
run: pip install -r scripts/codecov-requirements.txt
- name: Run tests and collect coverage
run: pytest --cov scripts/.
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}