Update ci.yml
All checks were successful
Validate PR Title / validate (pull_request) Successful in 6s
CI / ci (pull_request) Successful in 1m12s

This commit is contained in:
Luke Tainton 2025-05-31 11:40:51 +01:00
parent 9d6b04427f
commit 676d25c156
Signed by: luke
SSH Key Fingerprint: SHA256:D34npKT7UaiT/7gULqu7EPSLWWVAjTjXf4kKfJ/fQBo

View File

@ -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: |