mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 07:04:24 +00:00
[chore] Skip analyzer tests in CI (#3270)
This commit is contained in:
parent
93d09c78b4
commit
bc2d00710a
1 changed files with 1 additions and 1 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -34,7 +34,7 @@ jobs:
|
||||||
mkdir -p tmp/test-results
|
mkdir -p tmp/test-results
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
CGO_ENABLED=1 gotestsum --junitfile tmp/test-results/test.xml --raw-command -- go test -json -tags=sources $(go list ./... | grep -v /vendor/ | grep -v pkg/detectors)
|
CGO_ENABLED=1 gotestsum --junitfile tmp/test-results/test.xml --raw-command -- go test -json -tags=sources $(go list ./... | grep -v /vendor/ | grep -v pkg/detectors | grep -v pkg/analyzer/analyzers)
|
||||||
if: ${{ success() || failure() }} # always run this step, even if there were previous errors
|
if: ${{ success() || failure() }} # always run this step, even if there were previous errors
|
||||||
- name: Upload test results to BuildPulse for flaky test detection
|
- name: Upload test results to BuildPulse for flaky test detection
|
||||||
if: ${{ !cancelled() }} # Run this step even when the tests fail. Skip if the workflow is cancelled.
|
if: ${{ !cancelled() }} # Run this step even when the tests fail. Skip if the workflow is cancelled.
|
||||||
|
|
Loading…
Reference in a new issue