Skip to content

Setup testing and image build #5

Setup testing and image build

Setup testing and image build #5

Workflow file for this run

name: go-test
on:
push:
branches:
- "!main"
workflow_call:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
submodules: true
- name: Run tests
run: make test
env:
TEST_PARAM: "-coverprofile=coverage.out -covermode=atomic"
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3