Skip to content

demerit genesis

demerit genesis #279

Workflow file for this run

# Test workflow runs tests and coverage on all pushes and pull requests.
on:
push:
branches: [ "**" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
check-latest: true
cache: false
- name: Run Tests and Generate Coverage
run: |
go test -coverpkg=all ./... -coverprofile=coverage.txt
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.txt
fail_ci_if_error: true
verbose: true