Skip to content

Commit

Permalink
remove m flag diff-cover test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kimpham54 authored Oct 17, 2024
1 parent 0fe75e1 commit 960dfe7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,10 @@ jobs:
python -m coverage run -p -m pytest src/jp2_remediator/tests/unit
python -m coverage xml -o coverage-base.xml
git checkout -
python -m diff-cover --compare-branch=main coverage.xml
python diff-cover --compare-branch=main coverage.xml
# Fail if coverage decreases
- name: Fail if coverage decreases
run: |
pip install diff-cover
python -m diff-cover --compare-branch=main coverage.xml --fail-under=100
python diff-cover --compare-branch=main coverage.xml --fail-under=100

0 comments on commit 960dfe7

Please sign in to comment.