Skip to content

chore(main): release 0.51.0-beta (#958) #7462

chore(main): release 0.51.0-beta (#958)

chore(main): release 0.51.0-beta (#958) #7462

Workflow file for this run

name: Coverage
on: [push, pull_request]
jobs:
codecov:
name: codecov
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: password
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Load .env file
uses: cardinalby/export-env-action@v2
with:
envFile: .env
- name: Generate coverage report
run: |
make build-dev
make coverage DBTEST=true OCR=true ONNX=true
- name: Upload coverage report
uses: codecov/codecov-action@v2
with:
file: ./coverage.out
flags: unittests
name: codecov-umbrella