Skip to content

update codecov workflow #4

update codecov workflow

update codecov workflow #4

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=build_and_push scripts/.
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}