Add summary at the end of the measurement and fix RTT calc (#45) #277
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
name: test | |
on: | |
pull_request: | |
push: | |
branches: | |
- "main" | |
jobs: | |
build_and_run_tests: | |
runs-on: "${{ matrix.os }}" | |
strategy: | |
matrix: | |
go: [ "1.20.2" ] | |
os: [ "ubuntu-22.04", "windows-2019", "macos-12" ] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: "${{ matrix.go }}" | |
cache: true | |
- run: go build -v ./... | |
- run: go test -race -v ./... |