-
Notifications
You must be signed in to change notification settings - Fork 718
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use the actuated runners provided by the CNCF to run the testsuite on arm64. These runners do not support nested KVM and therefore we can run the VM tests there. Signed-off-by: Lorenz Bauer <[email protected]>
- Loading branch information
Showing
1 changed file
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -111,7 +111,11 @@ jobs: | |
|
||
test-on-prev-go: | ||
name: Run tests on previous stable Go | ||
runs-on: ubuntu-latest-4cores-16gb | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ ubuntu-latest-4cores-16gb, actuated-arm64-2cpu-8gb ] | ||
needs: build-and-lint | ||
timeout-minutes: 10 | ||
steps: | ||
|
@@ -123,17 +127,15 @@ jobs: | |
go-version: '${{ env.prev_go_version }}' | ||
|
||
- run: go install gotest.tools/[email protected] | ||
- run: sudo pip3 install https://github.com/amluto/virtme/archive/beb85146cd91de37ae455eccb6ab67c393e6e290.zip | ||
- run: sudo apt-get update && sudo apt-get install -y --no-install-recommends qemu-system-x86 | ||
|
||
- name: Test | ||
run: gotestsum --raw-command --ignore-non-json-output-lines --junitfile junit.xml -- ./run-tests.sh $CI_MAX_KERNEL_VERSION -short -count 1 -json ./... | ||
run: gotestsum --ignore-non-json-output-lines --junitfile junit.xml -- -short -count 1 -json ./... | ||
|
||
- name: Upload Test Results | ||
if: always() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: Test Results (previous stable Go) | ||
name: Test Results (previous stable Go, ${{ matrix.os }}) | ||
path: junit.xml | ||
|
||
vm-test: | ||
|