add codecov

This commit is contained in:
Brian Rosner 2024-05-21 07:54:45 -06:00 committed by GitHub
parent 620b307df6
commit c2a61647c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,6 +55,10 @@ jobs:
image: ${{ env.IMAGE_NAME }}:ci
options: -e DATABASE_URL=postgresql+psycopg://postgres:postgres@postgres:5432/postgres
run: pytest
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
build:
name: Build and push image
runs-on: ubuntu-latest