Skip to content

Merge pull request #55 from YutaroHayakawa/renovate/github.com-osrg-g… #181

Merge pull request #55 from YutaroHayakawa/renovate/github.com-osrg-g…

Merge pull request #55 from YutaroHayakawa/renovate/github.com-osrg-g… #181

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
- name: Run tests
run: |
go test -v -exec "sudo" -coverpkg=./... -coverprofile=coverage.out ./...
go tool cover -html=coverage.out -o coverage.html
- name: Upload coverage report
uses: actions/upload-artifact@v4
with:
name: coverage.html
path: coverage.html
compression-level: 0