display bandwidths in bits, not bytes, per second #18
This file contains hidden or 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, pull_request] | |
| jobs: | |
| unit: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ "ubuntu", "windows", "macos" ] | |
| go: [ "1.24.x", "1.25.x" ] | |
| runs-on: ${{ fromJSON(vars[format('UNIT_RUNNER_{0}', matrix.os)] || format('"{0}-latest"', matrix.os)) }} | |
| name: Unit tests (${{ matrix.os}}, Go ${{ matrix.go }}) | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| - run: go version | |
| - name: Run tests | |
| env: | |
| TIMESCALE_FACTOR: 10 | |
| run: go test -v ./... | |
| - name: Run tests (32 bit) | |
| if: ${{ matrix.os != 'macos' }} # can't run 32 bit tests on OSX. | |
| env: | |
| TIMESCALE_FACTOR: 10 | |
| GOARCH: 386 | |
| run: go test -v |