[chore] Skip analyzer tests in CI (#3270)

This commit is contained in:
Miccah 2024-09-06 14:09:13 -07:00 committed by GitHub
parent 93d09c78b4
commit bc2d00710a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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