Skip to content

Commit

Permalink
Merge pull request #18 from adyanth/test-pipeline
Browse files Browse the repository at this point in the history
Pipeline test on main
  • Loading branch information
adyanth authored Oct 18, 2024
2 parents 07844ca + 9928125 commit 4333816
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Python Test

on:
push:
branches:
- 'main'
pull_request:
branches:
- '*'
Expand Down Expand Up @@ -33,7 +36,7 @@ jobs:
run: python -m pytest --junitxml=pytest.xml --cov=main --cov-report=xml:coverage.xml | tee pytest-coverage.txt
- name: Pytest coverage comment
uses: MishaKav/pytest-coverage-comment@main
if: ${{ matrix.python-version }} == "3.13"
if: github.event_name == 'pull_request' && ${{ matrix.python-version }} == "3.13"
with:
pytest-coverage-path: ./pytest-coverage.txt
pytest-xml-coverage-path: ./coverage.xml
Expand Down

2 comments on commit 4333816

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
main.py1985771%93, 97, 104, 108, 112, 127, 137, 149, 175–178, 232–233, 235–236, 238–239, 242–245, 247–248, 250, 253, 255–258, 260–261, 271, 276–279, 281–282, 301, 303, 340, 361–364, 402, 406, 409, 411, 413–416, 418–419, 421
TOTAL1985771% 

Tests Skipped Failures Errors Time
16 0 💤 0 ❌ 0 🔥 0.745s ⏱️

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
main.py1985771%93, 97, 104, 108, 112, 127, 137, 149, 175–178, 232–233, 235–236, 238–239, 242–245, 247–248, 250, 253, 255–258, 260–261, 271, 276–279, 281–282, 301, 303, 340, 361–364, 402, 406, 409, 411, 413–416, 418–419, 421
TOTAL1985771% 

Tests Skipped Failures Errors Time
16 0 💤 0 ❌ 0 🔥 2.446s ⏱️

Please sign in to comment.