🧪✨ Test coverage ✨🧪 #486
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🧪✨ Test coverage ✨🧪 | |
on: | |
workflow_call: | |
workflow_dispatch: # Runs on manual calls | |
schedule: | |
- cron: "0 0 * * *" # Runs automatically every day | |
pull_request: | |
# Allow concurrent runs on main/release branches but isolates other branches | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }} | |
cancel-in-progress: ${{ ! (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release/')) }} | |
jobs: | |
test-coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.19 | |
cache: true | |
- name: Run all unit tests. | |
run: make test-coverage-integration | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 |