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:
1010 ATLAS_PRIVATE_KEY :
1111 description : " Organization private API key"
1212 required : true
13+ TEST_NAME :
14+ description : " The name of the test to run"
15+ required : true
1316runs :
1417 using : ' docker'
1518 image : ' Dockerfile'
Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ export ATLAS_PRIVATE_KEY="${INPUT_ATLAS_PRIVATE_KEY}"
77# otherwise we may get strange "Detected Programmatic Focus - setting exit status to 197"
88export GINKGO_EDITOR_INTEGRATION=" true"
99
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 2626 - name : Run testing
2727 run : CGO_ENABLED=0 go test -v $(go list ./pkg/...)
2828
29- int-test :
29+ int-test-project :
3030 name : Integration tests
3131 runs-on : ubuntu-latest
32+ strategy :
33+ fail-fast : false
34+ matrix :
35+ test : [ "AtlasProject", "AtlasCluster", "AtlasDatabaseUser" ]
3236 steps :
33373438
4347 ATLAS_ORG_ID : ${{ secrets.ATLAS_ORG_ID }}
4448 ATLAS_PUBLIC_KEY : ${{ secrets.ATLAS_PUBLIC_KEY }}
4549 ATLAS_PRIVATE_KEY : ${{ secrets.ATLAS_PRIVATE_KEY }}
50+ TEST_NAME : ${{ matrix.test }}
4651
4752 prepare-e2e :
4853 name : Prepare E2E configuration and image
You can’t perform that action at this time.
0 commit comments