Skip to content

style: update comments and table driven tests variable name #4

style: update comments and table driven tests variable name

style: update comments and table driven tests variable name #4

Workflow file for this run

name: test
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
permissions:
contents: read
jobs:
test:
name: Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
go:
- "1.21.x"
os:
- ubuntu-latest
- macos-latest
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
cache: false
- name: Checkout repository
uses: actions/checkout@v3
- name: Run tests
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage
uses: codecov/codecov-action@v3
with:
files: coverage.txt