Skip to content

Commit 1b70b32

Browse files
Require 100% code coverage
1 parent 8f1216d commit 1b70b32

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/python-app.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
- main
1313

1414
# Yoinked from https://github.com/MTES-MCT/apilos/pull/854/files
15-
# Explicitely set permissions to allow Dependabot workflow runs to write in the PR
15+
# Explicitly set permissions to allow Dependabot workflow runs to write in the PR
1616
# for coverage's reporting.
1717
# By default, these are read-only when the actions are ran by Dependabot
1818
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#changing-github_token-permissions
@@ -59,6 +59,8 @@ jobs:
5959
uses: orgoro/coverage@v3
6060
with:
6161
coverageFile: coverage.xml
62+
# Require 100% code coverage
63+
thresholdAll: 1.0
6264
token: ${{ secrets.GITHUB_TOKEN }}
6365

6466
Lint:

0 commit comments

Comments
 (0)