-
Notifications
You must be signed in to change notification settings - Fork 626
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Kay Yan <[email protected]>
- Loading branch information
Showing
3 changed files
with
37 additions
and
2 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 |
---|---|---|
|
@@ -317,3 +317,26 @@ jobs: | |
run: sudo vagrant up --provision-with=test-unit | ||
- name: test-integration | ||
run: sudo vagrant up --provision-with=test-integration | ||
|
||
test-integration-arm64: | ||
name: test-integration-arm64 | ||
runs-on: github-arm64-2c-8gb | ||
timeout-minutes: 40 | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 1 | ||
- name: "Prepare integration test environment" | ||
run: DOCKER_BUILDKIT=1 docker build -t test-integration-arm64 --target test-integration-arm64 . | ||
- name: "Remove snap loopback devices (conflicts with our loopback devices in TestRunDevice)" | ||
run: | | ||
sudo systemctl disable --now snapd.service snapd.socket | ||
sudo apt-get purge -y snapd | ||
sudo losetup -Dv | ||
sudo losetup -lv | ||
- name: "Register QEMU (tonistiigi/binfmt)" | ||
run: docker run --privileged --rm tonistiigi/binfmt --install all | ||
- name: "Run integration tests" | ||
run: docker run -t --rm --privileged test-integration-arm64 | ||
# - name: Setup tmate session | ||
# uses: mxschmitt/action-tmate@v3 |
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
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