Skip to content

Commit 6b5c60a

Browse files
authored
Merge pull request #558 from crazy-max/ci-virtualenv
ci: add ubuntu arm runners
2 parents a54d83c + 1b6fc22 commit 6b5c60a

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@ env:
2020

2121
jobs:
2222
test:
23-
runs-on: ubuntu-latest
23+
runs-on: ${{ matrix.os }}
2424
strategy:
2525
fail-fast: false
2626
matrix:
27+
os:
28+
- ubuntu-latest
29+
- ubuntu-22.04-arm
2730
node_version:
2831
- 20
2932
- 18
@@ -98,7 +101,7 @@ jobs:
98101
});
99102
await core.group(`Set includes`, async () => {
100103
let includes = [];
101-
for (const os of ['ubuntu-latest', 'macos-13', 'windows-latest']) {
104+
for (const os of ['ubuntu-latest', 'ubuntu-22.04-arm', 'macos-13', 'windows-latest']) {
102105
for (const test of tests) {
103106
if (test === 'docker/install.test.itg.ts') {
104107
includes.push({ os: os, test: test, test_name: 'root', docker_install_type: 'image', docker_install_version: '27.3.1' });

.github/workflows/virtual-env.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
- ubuntu-24.04
2525
- ubuntu-22.04
2626
- ubuntu-20.04
27+
- ubuntu-24.04-arm
28+
- ubuntu-22.04-arm
2729
steps:
2830
-
2931
name: File system

__tests__/docker/install.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ describe('download', () => {
6060
])(
6161
'acquires %p of docker (%s)', async (source, platformOS) => {
6262
jest.spyOn(osm, 'platform').mockImplementation(() => platformOS as NodeJS.Platform);
63+
jest.spyOn(osm, 'arch').mockImplementation(() => 'x64');
6364
const install = new Install({
6465
source: source,
6566
runDir: tmpDir,

0 commit comments

Comments
 (0)