Commit 3f6f1c85 authored by Derek Nola's avatar Derek Nola

Run integration test CI in parallel (#8156)

* Run integration test CI in parallel * Define go version in E2E Signed-off-by: 's avatarDerek Nola <derek.nola@suse.com>
parent dbaac3fd
......@@ -27,6 +27,11 @@ jobs:
name: Integration Tests
runs-on: ubuntu-20.04
timeout-minutes: 45
strategy:
fail-fast: false
matrix:
itest: [certrotation, etcdrestore, localstorage, startup, custometcdargs, etcdsnapshot, kubeflags, longhorn, secretsencryption]
max-parallel: 3
steps:
- name: Checkout
uses: actions/checkout@v3
......@@ -49,7 +54,7 @@ jobs:
- name: Run Integration Tests
run: |
chmod +x ./dist/artifacts/k3s
sudo -E env "PATH=$PATH" go test -v ./tests/integration/... -run Integration
sudo -E env "PATH=$PATH" go test -v -timeout=45m ./tests/integration/${{ matrix.itest }}/... -run Integration
- name: On Failure, Launch Debug Session
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment