Skip to content

Refactor fname matching (#80) #193

Refactor fname matching (#80)

Refactor fname matching (#80) #193

Workflow file for this run

name: unittests
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
on: push
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/setup-go@v3
with:
go-version: "^1.19"
- uses: actions/checkout@v2
- name: Install dependencies
run: go mod download
- name: Run tests
run: go test -v ./... -coverprofile=coverage.out
- name: Run codacy-coverage-reporter
run: bash <(curl -Ls https://coverage.codacy.com/get.sh) report --force-coverage-parser go -r coverage.out