Skip to content

Commit

Permalink
Merge pull request #47 from FocoosAI/fix/gh-actions-release
Browse files Browse the repository at this point in the history
fix: conditionally run pytest coverage comment for non-main branches
  • Loading branch information
giuseppeambrosio97 authored Jan 10, 2025
2 parents 6930337 + 5b06642 commit 578fc26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
pull_request:
workflow_dispatch:
env:
DOCKER_BUILDKIT: 1
UV_SYSTEM_PYTHON: 1
jobs:
Run-test:
Expand Down Expand Up @@ -36,6 +35,7 @@ jobs:
- name: Run test
run: make test
- name: Pytest coverage comment
if: ${{ github.ref_name != 'main' }}
uses: MishaKav/pytest-coverage-comment@main
with:
pytest-xml-coverage-path: ./tests/coverage.xml
Expand Down

0 comments on commit 578fc26

Please sign in to comment.