Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoine Mercadal committed Mar 22, 2023
1 parent 08ff740 commit 837c82a
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 @@ -37,9 +37,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: "85"
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 @@ cmd/elegen/elegen
cmd/elegen/build
*.lock
unit_coverage.out
cov.report
artifacts
profile.out
dist
Expand Down

0 comments on commit 837c82a

Please sign in to comment.