Skip to content

Commit

Permalink
Fix test.yml (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
frack113 authored Mar 17, 2024
1 parent 9267522 commit 089be99
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
run: poetry run black --check .
- name: Run tests
run: poetry run pytest --cov=sigma --cov-report term --cov-report xml:cov.xml -vv
- name: Store coverage for badge
if: ${{ runner.os == 'Linux' }}
run: poetry run python print-coverage.py >> $GITHUB_ENV
- name: Create coverage badge
if: ${{ github.repository == 'SigmaHQ/pySigma-validators-sigmaHQ' && github.event_name == 'push' && runner.os == 'Linux' }}
uses: schneegans/dynamic-badges-action@v1.1.0
Expand Down

0 comments on commit 089be99

Please sign in to comment.