diff --git a/.github/workflows/integration-arm64.yaml b/.github/workflows/integration-arm64.yaml index da6e9432e..ee13b7816 100644 --- a/.github/workflows/integration-arm64.yaml +++ b/.github/workflows/integration-arm64.yaml @@ -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 \ No newline at end of file diff --git a/.github/workflows/integration-x86-64.yaml b/.github/workflows/integration-x86-64.yaml index 4eecbaa62..15204c82c 100644 --- a/.github/workflows/integration-x86-64.yaml +++ b/.github/workflows/integration-x86-64.yaml @@ -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 }}