Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .github/workflows/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,21 @@ jobs:
env:
GCM_SECRET: ${{ secrets.GCM_SECRET }}
run: make test-script-gcm
e2e-testruns:
runs-on: ubuntu-latest
outputs:
testrun: ${{ steps.set-testruns.outputs.testrun }}
steps:
- uses: actions/checkout@v3
- id: set-testruns
run: echo "testrun=$(go test ./e2e/... -list=. | grep -E 'Test*' | jq -R -s -c 'split("\n")[:-1]')" >> $GITHUB_OUTPUT
e2e-test:
runs-on: ubuntu-latest
needs: [e2e-testruns]
strategy:
matrix:
testrun: ${{fromJson(needs.e2e-testruns.outputs.testrun)}}
steps:
- uses: actions/checkout@v3
- name: Run e2e
run: make e2e
env:
GO_ARGS: "-timeout=15m -parallel=2"
run: TEST_RUN=${{matrix.testrun}} make e2e
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ E2E_DOCKER_ARGS += --env KIND_PERSIST=1
endif
REGISTRY_NAME=kind-registry
REGISTRY_PORT=5001
KIND_PARALLEL?=5
KIND_PARALLEL?=3

# For now assume the docker daemon is mounted through a unix socket.
# TODO(pintohutch): will this work if using a remote docker over tcp?
Expand Down
Loading