mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
ci: Run core tests groups workflow on amd64 and arm64 runners. (#25695)
This commit is contained in:
2
.github/actionlint.yml
vendored
2
.github/actionlint.yml
vendored
@@ -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
|
||||
|
||||
11
.github/workflows/test-core.yaml
vendored
11
.github/workflows/test-core.yaml
vendored
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user