Skip to content

Commit 9b02848

Browse files
committed
ci: trim integration-x86-64.yaml to our needs
We don't have the runners to run the integration tests, but at least we want to run the unit tests. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> On-behalf-of: SAP philipp.schuster@sap.com
1 parent ccb320d commit 9b02848

File tree

1 file changed

+2
-23
lines changed

1 file changed

+2
-23
lines changed

.github/workflows/integration-x86-64.yaml

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,15 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
runner: ['garm-jammy', "garm-jammy-amd"]
14-
libc: ["musl", 'gnu']
13+
libc: ['gnu']
1514
name: Tests (x86-64)
16-
runs-on: ${{ github.event_name == 'pull_request' && !(matrix.runner == 'garm-jammy' && matrix.libc == 'gnu') && 'ubuntu-latest' || format('{0}-16', matrix.runner) }}
15+
runs-on: ubuntu-latest
1716
steps:
1817
- name: Code checkout
19-
if: ${{ github.event_name != 'pull_request' || (matrix.runner == 'garm-jammy' && matrix.libc == 'gnu') }}
2018
uses: actions/checkout@v6
2119
with:
2220
fetch-depth: 0
2321
- name: Install Docker
24-
if: ${{ github.event_name != 'pull_request' || (matrix.runner == 'garm-jammy' && matrix.libc == 'gnu') }}
2522
run: |
2623
sudo apt-get update
2724
sudo apt-get -y install ca-certificates curl gnupg
@@ -30,23 +27,5 @@ jobs:
3027
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
3128
sudo apt-get update
3229
sudo apt install -y docker-ce docker-ce-cli
33-
- name: Prepare for VDPA
34-
if: ${{ github.event_name != 'pull_request' || (matrix.runner == 'garm-jammy' && matrix.libc == 'gnu') }}
35-
run: scripts/prepare_vdpa.sh
3630
- name: Run unit tests
37-
if: ${{ github.event_name != 'pull_request' || (matrix.runner == 'garm-jammy' && matrix.libc == 'gnu') }}
3831
run: scripts/dev_cli.sh tests --unit --libc ${{ matrix.libc }}
39-
- name: Load openvswitch module
40-
if: ${{ github.event_name != 'pull_request' || (matrix.runner == 'garm-jammy' && matrix.libc == 'gnu') }}
41-
run: sudo modprobe openvswitch
42-
- name: Run integration tests
43-
if: ${{ github.event_name != 'pull_request' || (matrix.runner == 'garm-jammy' && matrix.libc == 'gnu') }}
44-
timeout-minutes: 40
45-
run: scripts/dev_cli.sh tests --integration --libc ${{ matrix.libc }}
46-
- name: Run live-migration integration tests
47-
if: ${{ github.event_name != 'pull_request' || (matrix.runner == 'garm-jammy' && matrix.libc == 'gnu') }}
48-
timeout-minutes: 20
49-
run: scripts/dev_cli.sh tests --integration-live-migration --libc ${{ matrix.libc }}
50-
- name: Skipping build for PR
51-
if: ${{ github.event_name == 'pull_request' && matrix.runner != 'garm-jammy' && matrix.libc != 'gnu' }}
52-
run: echo "Skipping build for PR"

0 commit comments

Comments
 (0)