diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f7352145..fa3efad3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,10 +20,13 @@ env: jobs: test: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: + os: + - ubuntu-latest + - ubuntu-22.04-arm node_version: - 20 - 18 @@ -98,7 +101,7 @@ jobs: }); await core.group(`Set includes`, async () => { let includes = []; - for (const os of ['ubuntu-latest', 'macos-13', 'windows-latest']) { + for (const os of ['ubuntu-latest', 'ubuntu-22.04-arm', 'macos-13', 'windows-latest']) { for (const test of tests) { if (test === 'docker/install.test.itg.ts') { includes.push({ os: os, test: test, test_name: 'root', docker_install_type: 'image', docker_install_version: '27.3.1' }); diff --git a/__tests__/docker/install.test.ts b/__tests__/docker/install.test.ts index 7016c56f..e3f12948 100644 --- a/__tests__/docker/install.test.ts +++ b/__tests__/docker/install.test.ts @@ -60,6 +60,7 @@ describe('download', () => { ])( 'acquires %p of docker (%s)', async (source, platformOS) => { jest.spyOn(osm, 'platform').mockImplementation(() => platformOS as NodeJS.Platform); + jest.spyOn(osm, 'arch').mockImplementation(() => 'x64'); const install = new Install({ source: source, runDir: tmpDir,