Skip to content

Merge pull request #74 from RealFax/dependabot/go_modules/google.gola… #164

Merge pull request #74 from RealFax/dependabot/go_modules/google.gola…

Merge pull request #74 from RealFax/dependabot/go_modules/google.gola… #164

Workflow file for this run

name: Testing
on:
push:
branches: ["master", "dev"]
pull_request:
branches: ["master"]
jobs:
run-testing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Test
run: go test -p 1 -v ./...
- name: Run coverage
run: go test -p 1 ./... -race -coverprofile=coverage.out -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.out
flags: unittests
verbose: true