Skip to content

Commit

Permalink
Update coverage.yml
Browse files Browse the repository at this point in the history
add linking of missing lines and restrict permissions again to something the "seems" reasonable
  • Loading branch information
sroet authored Feb 22, 2024
1 parent be3b588 commit 79a38fb
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,19 @@ jobs:
runs-on: [self-hosted, linux, x64, gpu]
container:
image: ubuntu
# DEBUG to make sure the action can pass at all
permissions: write-all
# Allow publishing new comments on PRs
# pull-requests: write
# Allow for editing existing comments
# contents: write
permissions:
# Read the action that triggered this one
# actions: read
actions: read
# Allow to write check runs
# checks: read
checks: write
# Allow for editing existing comments
contents: write
# Allow publishing new comments on PRs
pull-requests: write
# Read and update commit statuses
statuses: write


# Allow to check commit statusses
steps:
- name: Download Artifact
Expand All @@ -44,5 +47,6 @@ jobs:
minimum_coverage: 75
show_missing: True
fail_below_threshold: True
link_missing_lines: True
# False for now, might set to true later
only_changed_files: False

0 comments on commit 79a38fb

Please sign in to comment.