Skip to content

comment

comment #12052

Workflow file for this run

name: Unit tests
on:
push:
branches:
- "**"
# pull_request:
# branches:
# - "**"
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup make
run: sudo apt-get update && sudo apt-get install make
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.22.x"
- name: Run unit tests
run: make unit-test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}