Skip to content

Commit

Permalink
workflows.test - separate pytest and coverage steps
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoCampinoti94 committed Oct 17, 2024
1 parent e9bed81 commit 06fb22f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ jobs:
- uses: actions/setup-go@v5
- run: poetry install
- run: go install github.com/richardlehane/siegfried/cmd/sf@latest
- name: Unit test
- name: pytest
env:
GOPATH: /home/runner/go
run: |
poetry run coverage run -m pytest
poetry run coverage report -m --fail-under=80 --skip-empty --skip-covered
run: poetry run coverage run -m pytest
- name: coverage
run: poetry run coverage report -m --fail-under=80 --skip-empty --skip-covered

0 comments on commit 06fb22f

Please sign in to comment.