From 40b16b8e1b612545d4d7b266f28bc335ae95b94e Mon Sep 17 00:00:00 2001 From: Dustin Decker Date: Thu, 21 Sep 2023 15:12:19 -0700 Subject: [PATCH] fix detector test action --- .github/workflows/detector-tests.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/detector-tests.yml b/.github/workflows/detector-tests.yml index c08ce26275eb..1839bc4c9f23 100644 --- a/.github/workflows/detector-tests.yml +++ b/.github/workflows/detector-tests.yml @@ -32,7 +32,7 @@ jobs: mkdir -p tmp/test-results - name: Test run: | - CGO_ENABLED=1 gotestsum --junitfile tmp/test-results/test.xml --raw-command -- go test -json -tags=detectors -timeout=15m $(go list ./... | pkg/detectors) + CGO_ENABLED=1 gotestsum --junitfile tmp/test-results/test.xml --raw-command -- go test -json -tags=detectors -timeout=15m $(go list ./... | grep pkg/detectors) - 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. uses: buildpulse/buildpulse-action@main @@ -44,8 +44,3 @@ jobs: key: ${{ secrets.BUILDPULSE_DETECTORS_ACCESS_KEY_ID }} secret: ${{ secrets.BUILDPULSE_DETECTORS_SECRET_ACCESS_KEY }} tags: detectors - - name: Annotate test results - uses: mikepenz/action-junit-report@v3 - if: success() || failure() # always run even if the previous step fails - with: - report_paths: "tmp/test-results/*.xml"