Check secondary optimization for subnet in zone #378
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [ master ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
name: tests | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: stable | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Calc coverage | |
run: > | |
go test | |
-coverpkg ../pkg/... | |
-covermode=count | |
-coverprofile=coverage.out | |
working-directory: go/test | |
- name: Convert coverage to lcov | |
uses: jandelgado/[email protected] | |
with: | |
working-directory: go/test | |
- name: Coveralls | |
uses: coverallsapp/[email protected] | |
with: | |
github-token: ${{ secrets.github_token }} | |
file: go/test/coverage.lcov |