mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
build: Add some timeouts to integration test workflow
Add top-level timeout for the jobs and also more agressive per step timeouts. Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
parent
2e4079becb
commit
1fe2771a0d
2
.github/workflows/integration-arm64.yaml
vendored
2
.github/workflows/integration-arm64.yaml
vendored
@ -3,6 +3,7 @@ on: [pull_request, create]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
timeout-minutes: 60
|
||||
if: github.event_name == 'pull_request'
|
||||
name: Tests (ARM64)
|
||||
runs-on: focal-arm64
|
||||
@ -16,4 +17,5 @@ jobs:
|
||||
- name: Load openvswitch module
|
||||
run: sudo modprobe openvswitch
|
||||
- name: Run integration tests (musl)
|
||||
timeout-minutes: 30
|
||||
run: scripts/dev_cli.sh tests --integration --libc musl
|
5
.github/workflows/integration-x86-64.yaml
vendored
5
.github/workflows/integration-x86-64.yaml
vendored
@ -3,6 +3,7 @@ on: [pull_request, create]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
timeout-minutes: 60
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@ -28,10 +29,12 @@ jobs:
|
||||
- name: Prepare for VDPA
|
||||
run: scripts/prepare_vdpa.sh
|
||||
- name: Run unit tests
|
||||
run: scripts/dev_cli.sh tests --unit
|
||||
run: scripts/dev_cli.sh tests --unit --libc ${{ matrix.libc }}
|
||||
- name: Load openvswitch module
|
||||
run: sudo modprobe openvswitch
|
||||
- name: Run integration tests
|
||||
timeout-minutes: 40
|
||||
run: scripts/dev_cli.sh tests --integration --libc ${{ matrix.libc }}
|
||||
- name: Run live-migration integration tests
|
||||
timeout-minutes: 20
|
||||
run: scripts/dev_cli.sh tests --integration-live-migration --libc ${{ matrix.libc }}
|
||||
|
Loading…
Reference in New Issue
Block a user