-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
cyberphor
committed
Oct 13, 2024
1 parent
7376945
commit 471a4f4
Showing
4 changed files
with
6 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,18 +26,5 @@ jobs: | |
poetry-version: ${{ matrix.poetry-version }} | ||
- name: Install dependencies | ||
run: poetry install | ||
- 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 == 'cyberphor/pySigma-backend-powershell' && github.event_name == 'push' && runner.os == 'Linux' }} | ||
uses: schneegans/[email protected] | ||
with: | ||
auth: ${{ secrets.GIST_SECRET }} | ||
gistID: d3f7db7182e7819f3748e64a2ab2d126 | ||
filename: cyberphor-pySigma-backend-powershell.json | ||
label: Coverage | ||
message: ${{ env.COVERAGE }} | ||
color: ${{ env.COVERAGE_COLOR }} | ||
- name: Lint with black | ||
run: poetry run black --check . |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters