Skip to content

Run unit tests workflow on this branch #443

Run unit tests workflow on this branch

Run unit tests workflow on this branch #443

Workflow file for this run

name: Unit tests
on:
push:
branches: [ "main", "simobeal-add-test-coverage" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- name: Check style
run: make check_style
- name: Install Go Test Coverage
run: make install-go-test-coverage
- name: Build
run: make bin
- name: Test
run: make test
- name: Check test coverage
uses: vladopajic/go-test-coverage@v2
with:
config: ./.testcoverage.yml