Update ci.yml
This commit is contained in:
parent
9d6b04427f
commit
676d25c156
@ -52,8 +52,8 @@ jobs:
|
||||
- name: Unit Test
|
||||
run: |
|
||||
uv run coverage run -m pytest -v --junitxml=testresults.xml
|
||||
uv run coverage xml
|
||||
sed -i 's@${{ gitea.workspace }}@/github/workspace@g' coverage.xml
|
||||
uv run coverage report
|
||||
# sed -i 's@${{ gitea.workspace }}@/github/workspace@g' coverage.xml
|
||||
|
||||
- name: Minimize uv cache
|
||||
run: uv cache prune --ci
|
||||
@ -83,9 +83,10 @@ jobs:
|
||||
continue-on-error: true # Sometimes vulns aren't immediately fixable
|
||||
env:
|
||||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
||||
DEBUG: "*snyk*"
|
||||
with:
|
||||
# command: snyk
|
||||
args: DEBUG=*snyk* snyk test --all-projects --exclude=.archive
|
||||
args: snyk test --all-projects --exclude=.archive
|
||||
|
||||
- name: Reverse set up environment for Snyk
|
||||
run: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user