Skip to content

Commit

Permalink
omit the test file itself from coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
Wo0fle committed Jun 19, 2024
1 parent b88f137 commit 83160bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: |
coverage erase
coverage run -m pytest TEST_virtual_sq1.py
coverage report
coverage report --omit=TEST_virtual_sq1.py
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v2.3.0

2 changes: 1 addition & 1 deletion TEST_virtual_sq1.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import pytest


# 94% coverage: im pretty sure i tested every typical case soooo basically if something fails then thats a skill issue :]
# im pretty sure i tested every typical case soooo basically if something fails then thats a skill issue :]

@pytest.fixture
def sq1():
Expand Down

0 comments on commit 83160bc

Please sign in to comment.