Skip to content

*: qbft flakey test #1568

*: qbft flakey test

*: qbft flakey test #1568

Workflow file for this run

name: Unit Tests
on:
pull_request:
push:
branches:
- main*
concurrency:
group: unit-tests-${{ github.ref }}
cancel-in-progress: true
jobs:
unit_tests:
runs-on: charon-ci
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: ./.github/actions/setup-go
- uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- run: go test -coverprofile=coverage.out -covermode=atomic -timeout=10m -race ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.out