ci: Run core tests groups workflow on amd64 and arm64 runners. (#25695)

This commit is contained in:
James Rasell
2025-04-17 15:16:29 +01:00
committed by GitHub
parent c44f847cbb
commit c85c723336
8 changed files with 79 additions and 43 deletions

View File

@@ -8,3 +8,5 @@ self-hosted-runner:
- windows-2019-16core
- custom-linux-xxl-nomad-20.04
- custom-linux-xl-nomad-22.04
- custom-ubuntu-22.04-xl
- custom-ubuntu-22.04-arm64-xl

View File

@@ -104,7 +104,6 @@ jobs:
sudo -E env "PATH=$PATH" make test-nomad-module
tests-groups:
needs: [checks]
runs-on: custom-linux-xl-nomad-22.04
timeout-minutes: 30
strategy:
fail-fast: false
@@ -115,6 +114,11 @@ jobs:
- command
- drivers
- quick
runners:
- custom-ubuntu-22.04-xl
- custom-ubuntu-22.04-arm64-xl
runs-on: ${{matrix.runners}}
name: tests-groups (${{matrix.groups}}, ${{ contains(matrix.runners, '-arm64') && ' linux_arm64 )' || ' linux_amd64 )' }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
@@ -122,9 +126,12 @@ jobs:
cache: ${{ contains(runner.name, 'Github Actions') }}
go-version-file: .go-version
cache-dependency-path: '**/go.sum'
- name: Install optional dependencies
- name: Install "driver" group dependencies
if: ${{ matrix.groups == 'drivers' }}
run: sudo apt update && sudo apt install qemu-system
- name: Install "command" group dependencies
if: ${{ matrix.groups == 'command' }}
run: sudo apt update && sudo apt install xdg-utils
- name: Run Matrix Tests
env:
GOTEST_GROUP: ${{matrix.groups}}