Skip to content

Merge pull request #473 from dvyas1/bugfix-missing-imagePullSecrets #860

Merge pull request #473 from dvyas1/bugfix-missing-imagePullSecrets

Merge pull request #473 from dvyas1/bugfix-missing-imagePullSecrets #860

Workflow file for this run

name: Linux 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@v4
with:
go-version: ^1.17
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Build Test
run: |
go version
export PATH=$PATH:$HOME/.local/bin
make verify
go test -covermode=count -coverprofile=profile.cov ./pkg/...
export DOCKER_CLI_EXPERIMENTAL=enabled && make container
- 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