Skip to content

Add the Explanation field containing the document explain details to … #194

Add the Explanation field containing the document explain details to …

Add the Explanation field containing the document explain details to … #194

Workflow file for this run

name: Unit
on: [push, pull_request]
env:
GITHUB_ACTIONS: true
jobs:
test:
name: "Tests (${{ matrix.os }})"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with: { go-version-file: 'go.mod' }
- run: go version
- run: make test-unit race=true
if: matrix.os != 'ubuntu-latest'
- run: make test-unit race=true coverage=true
if: matrix.os == 'ubuntu-latest'
- uses: codecov/codecov-action@v3
with:
file: tmp/unit.cov
flags: unit
if: matrix.os == 'ubuntu-latest'
bench:
name: Benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with: { go-version-file: 'go.mod' }
- run: go version
- run: make test-bench