File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ inputs:
10
10
ATLAS_PRIVATE_KEY :
11
11
description : " Organization private API key"
12
12
required : true
13
+ TEST_NAME :
14
+ description : " The name of the test to run"
15
+ required : true
13
16
runs :
14
17
using : ' docker'
15
18
image : ' Dockerfile'
Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ export ATLAS_PRIVATE_KEY="${INPUT_ATLAS_PRIVATE_KEY}"
7
7
# otherwise we may get strange "Detected Programmatic Focus - setting exit status to 197"
8
8
export GINKGO_EDITOR_INTEGRATION=" true"
9
9
10
- ginkgo -v -p -nodes=4 ./test/int
10
+ ginkgo --focus " ${INPUT_TEST_NAME} " -v -nodes=4 ./test/int
Original file line number Diff line number Diff line change 26
26
- name : Run testing
27
27
run : CGO_ENABLED=0 go test -v $(go list ./pkg/...)
28
28
29
- int-test :
29
+ int-test-project :
30
30
name : Integration tests
31
31
runs-on : ubuntu-latest
32
+ strategy :
33
+ fail-fast : false
34
+ matrix :
35
+ test : [ "AtlasProject", "AtlasCluster", "AtlasDatabaseUser" ]
32
36
steps :
33
37
34
38
43
47
ATLAS_ORG_ID : ${{ secrets.ATLAS_ORG_ID }}
44
48
ATLAS_PUBLIC_KEY : ${{ secrets.ATLAS_PUBLIC_KEY }}
45
49
ATLAS_PRIVATE_KEY : ${{ secrets.ATLAS_PRIVATE_KEY }}
50
+ TEST_NAME : ${{ matrix.test }}
46
51
47
52
prepare-e2e :
48
53
name : Prepare E2E configuration and image
You can’t perform that action at this time.
0 commit comments