Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
primalmotion committed Mar 22, 2023
1 parent 5b0f2ca commit 069d3fe
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ jobs:
run: |
make
- uses: PaloAltoNetworks/[email protected]
if: ${{matrix.go == 1.20}}
- uses: PaloAltoNetworks/[email protected]
with:
main_branch: master
cov_file: unit_coverage.out
cov_threshold: "69"
cov_mode: coverage
17 changes: 17 additions & 0 deletions .github/workflows/cov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: cov

on:
workflow_run:
workflows: ["build-go"]
types:
- completed

jobs:
cov:
runs-on: ubuntu-latest
steps:
- uses: PaloAltoNetworks/[email protected]
with:
cov_mode: send-status
workflow_run_id: ${{github.event.workflow_run.id}}
workflow_head_sha: ${{github.event.workflow_run.head_sha}}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Gopkg.lock
cmd/rego/rego

unit_coverage.out
cov.report
artifacts

for p in *.spec ; do
Expand Down

0 comments on commit 069d3fe

Please sign in to comment.