Skip to content

Exit gracefully when lookup table not found #22

Exit gracefully when lookup table not found

Exit gracefully when lookup table not found #22

Workflow file for this run

name: codecov
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
name: Run pytest and upload to Codecov
steps:
- uses: actions/checkout@v4
- name: Install requirements
run: pip install -r requirements-dev.txt
- name: Run tests and collect coverage
run: pytest --cov .
- name: Upload coverage reports to Codecov
run: |
curl -Os https://cli.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov --verbose upload-process --fail-on-error -t ${{ secrets.CODECOV_TOKEN }} -n 'service'-${{ github.run_id }} -F service -f coverage-service.xml