get management_instance in IPv4 & IPv6 correctly #346
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/gcov2lcov-action@v1.0.9 | |
with: | |
working-directory: go/test | |
- name: Coveralls | |
uses: coverallsapp/github-action@1.1.3 | |
with: | |
github-token: ${{ secrets.github_token }} | |
path-to-lcov: go/test/coverage.lcov |