Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

chore(main): release 0.29.1-beta #2828

chore(main): release 0.29.1-beta

chore(main): release 0.29.1-beta #2828

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
steps:
- name: Install operator dependencies
run: sudo apt-get update -y && sudo apt-get install poppler-utils wv unrtf tidy tesseract-ocr libtesseract-dev -y
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Load .env file
uses: cardinalby/export-env-action@v2
with:
envFile: .env
expand: true
- uses: actions/setup-go@v3
with:
go-version: ${{ env.GOLANG_VERSION }}
- uses: actions/checkout@v3
- name: Generate coverage report
run: |
go mod tidy
go test -tags ocr -race ./... -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage report
uses: codecov/codecov-action@v2
with:
file: ./coverage.txt
flags: unittests
name: codecov-umbrella