Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
paskal committed Feb 13, 2020
1 parent 7ac6c87 commit 27c1319
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
run: go test -timeout=60s -covermode=count -coverprofile=$GITHUB_WORKSPACE/profile.cov ./...
- name: install golangci-lint
run: curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $GITHUB_WORKSPACE v1.23.6
- name: install goveralls
run: GO111MODULE=off go get -u -v github.com/mattn/goveralls
- name: run linters
run: $GITHUB_WORKSPACE/golangci-lint run ./...

- name: submit coverage
run: $(go env GOPATH)/bin/goveralls -service="github" -coverprofile=$GITHUB_WORKSPACE/profile.cov
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Go Palo Alto Prisma Cloud library [![Build Status](https://github.com/paskal/go-prisma/workflows/test/badge.svg)](https://github.com/paskal/go-prisma/actions) [![Go Report Card](https://goreportcard.com/badge/github.com/paskal/go-prisma)](https://goreportcard.com/report/github.com/paskal/go-prisma)[![GoDoc](https://godoc.org/github.com/paskal/go-prisma?status.svg)](https://pkg.go.dev/github.com/paskal/go-prisma?tab=doc)
# Go Palo Alto Prisma Cloud library [![Build Status](https://github.com/paskal/go-prisma/workflows/test/badge.svg)](https://github.com/paskal/go-prisma/actions) [![Go Report Card](https://goreportcard.com/badge/github.com/paskal/go-prisma)](https://goreportcard.com/report/github.com/paskal/go-prisma)[![Coverage Status](https://coveralls.io/repos/github/paskal/go-prisma/badge.svg?branch=master)](https://coveralls.io/github/paskal/go-prisma?branch=master)[![GoDoc](https://godoc.org/github.com/paskal/go-prisma?status.svg)](https://pkg.go.dev/github.com/paskal/go-prisma?tab=doc)

Tiny library for [Prisma Cloud API](https://api.docs.prismacloud.io/reference) access.

Expand Down

0 comments on commit 27c1319

Please sign in to comment.