Skip to content

Commit 9089fb7

Browse files
Include all detector tests for captain (#3329)
* Use captain for test aggregation * no retries * include all detector tests
1 parent 3b0f2fc commit 9089fb7

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.captain/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
test-suites:
22
detectors:
3-
command: gotestsum --jsonfile tmp/go-test.json --raw-command -- go test -tags=detectors -timeout=15m -json -count=1 -vet=off ./pkg/detectors
3+
command: gotestsum --jsonfile tmp/go-test.json --raw-command -- go test -tags=detectors -timeout=15m -json -count=1 -vet=off ./pkg/detectors/...
44
results:
55
path: tmp/go-test.json
66
output:

.github/workflows/detector-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: detector test aggregation
1+
name: Detectors Aggregation
22

33
on:
44
workflow_dispatch:

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ dist
55

66
# binary
77
trufflehog
8+
tmp/go-test.json
9+
.captain/detectors/timings.yaml
10+
.captain/detectors/quarantines.yaml
11+
.captain/detectors/flakes.yaml

0 commit comments

Comments
 (0)