Skip to content

Commit

Permalink
Run code coverage on the entire knative/pkg repo (#110)
Browse files Browse the repository at this point in the history
* added a code coverage job to test running coverage on entire ./

* change the code coverage job to test running coverage on entire ./

* change the code coverage job to test running coverage on entire ./
  • Loading branch information
steuhs authored and knative-prow-robot committed Sep 24, 2018
1 parent 52b32aa commit 45b3a2e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ci/prow/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,8 @@ presubmits:
args:
- "--postsubmit-gcs-bucket=knative-prow"
- "--postsubmit-job-name=post-knative-serving-go-coverage"
- "--artifacts=$(ARTIFACTS)"
- "--profile-name=coverage_profile.txt"
- "--artifacts=$(ARTIFACTS)"
- "--cov-target=./pkg/"
- "--cov-threshold-percentage=81"
- "--github-token=/etc/github-token/token"
Expand Down Expand Up @@ -1181,7 +1181,7 @@ presubmits:
- "--postsubmit-job-name=post-knative-pkg-go-coverage"
- "--artifacts=$(ARTIFACTS)"
- "--profile-name=coverage_profile.txt"
- "--cov-target=./apis/ ./configmap/"
- "--cov-target=."
- "--cov-threshold-percentage=50"
- "--github-token=/etc/github-token/token"
volumeMounts:
Expand Down Expand Up @@ -2036,7 +2036,7 @@ periodics:
args:
- "--artifacts=$(ARTIFACTS)"
- "--profile-name=coverage_profile.txt"
- "--cov-target=./apis/ ./configmap/"
- "--cov-target=."
- "--cov-threshold-percentage=80"

- cron: "30 * * * *" # Run every hour and 30 minutes
Expand Down Expand Up @@ -2223,7 +2223,7 @@ postsubmits:
args:
- "--artifacts=$(ARTIFACTS)"
- "--profile-name=coverage_profile.txt"
- "--cov-target=./apis/ ./configmap/"
- "--cov-target=."
- "--cov-threshold-percentage=0"

knative/caching:
Expand Down

0 comments on commit 45b3a2e

Please sign in to comment.