Skip to content

Merge pull request #469 from YashwantGohokar/oke-oss-release_1.26.4 #277

Merge pull request #469 from YashwantGohokar/oke-oss-release_1.26.4

Merge pull request #469 from YashwantGohokar/oke-oss-release_1.26.4 #277

Workflow file for this run

name: Unit Tests
on:
pull_request: {}
push: {}
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: 1.19
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Run Unit Tests
run: |
go test -covermode=count -coverprofile=profile.cov ./pkg/...
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
GO111MODULE=off go get github.com/mattn/goveralls
$(go env GOPATH)/bin/goveralls -coverprofile=profile.cov -service=github