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