From 9089fb7df1632f67b2546834b43dcbdbb11b0c98 Mon Sep 17 00:00:00 2001 From: Dustin Decker Date: Tue, 24 Sep 2024 12:04:56 -0700 Subject: [PATCH] Include all detector tests for captain (#3329) * Use captain for test aggregation * no retries * include all detector tests --- .captain/config.yaml | 2 +- .github/workflows/detector-tests.yml | 2 +- .gitignore | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.captain/config.yaml b/.captain/config.yaml index 311b809cf..bd17814aa 100644 --- a/.captain/config.yaml +++ b/.captain/config.yaml @@ -1,6 +1,6 @@ test-suites: detectors: - command: gotestsum --jsonfile tmp/go-test.json --raw-command -- go test -tags=detectors -timeout=15m -json -count=1 -vet=off ./pkg/detectors + command: gotestsum --jsonfile tmp/go-test.json --raw-command -- go test -tags=detectors -timeout=15m -json -count=1 -vet=off ./pkg/detectors/... results: path: tmp/go-test.json output: diff --git a/.github/workflows/detector-tests.yml b/.github/workflows/detector-tests.yml index 65aa678ea..3a0c35d38 100644 --- a/.github/workflows/detector-tests.yml +++ b/.github/workflows/detector-tests.yml @@ -1,4 +1,4 @@ -name: detector test aggregation +name: Detectors Aggregation on: workflow_dispatch: diff --git a/.gitignore b/.gitignore index e9a3dd8a8..84eaebc5a 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,7 @@ dist # binary trufflehog +tmp/go-test.json +.captain/detectors/timings.yaml +.captain/detectors/quarantines.yaml +.captain/detectors/flakes.yaml