File tree Expand file tree Collapse file tree 3 files changed +7
-15
lines changed Expand file tree Collapse file tree 3 files changed +7
-15
lines changed Original file line number Diff line number Diff line change @@ -45,13 +45,12 @@ jobs:
4545 - name : Run test suite
4646 run : tox --skip-pkg-install
4747 env :
48- COVERAGE_FILE : " . coverage.${{ matrix.os }}.${{ matrix.py }}"
48+ COVERAGE_FILE : " coverage.${{ matrix.os }}.${{ matrix.py }}"
4949 - name : Store coverage file
5050 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
5151 with :
5252 name : coverage.${{ matrix.os }}.${{ matrix.py }}
53- path : .coverage.${{ matrix.os }}.${{ matrix.py }}
54- include-hidden-files : true
53+ path : coverage.${{ matrix.os }}.${{ matrix.py }}
5554 if-no-files-found : error
5655
5756 coverage :
6261 permissions :
6362 pull-requests : write
6463 contents : write
64+ env :
65+ COVERAGE_FILE : " coverage"
6566 steps :
6667 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6768
7879 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7980 MERGE_COVERAGE_FILES : true
8081 ANNOTATE_MISSING_LINES : true
82+ VERBOSE : true
8183
8284 - name : Store Pull Request comment to be posted
8385 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
Original file line number Diff line number Diff line change @@ -80,19 +80,9 @@ relative_files = true
8080source = [" descope" ]
8181omit = [" descope/flask/*" ]
8282
83- [tool .coverage .paths ]
84- # Normalize paths across OSes so combined reports resolve to the same files
85- source = [
86- " descope" ,
87- " */descope" ,
88- " *\\ descope" ,
89- ]
90-
9183
9284[tool .coverage .report ]
93- # Don't enforce threshold during JSON export used by the GitHub Action.
94- # Enforce thresholds explicitly in CI if desired.
95- fail_under = 0
85+ fail_under = 98
9686skip_covered = true
9787skip_empty = true
9888
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ commands =
3232
3333[testenv:report]
3434commands =
35- poetry run coverage report -- fail-under =98
35+ poetry run coverage report
3636depends =
3737 py3{12, 11, 10, 9, 8}
3838
You can’t perform that action at this time.
0 commit comments