Merge pull request #558 from crazy-max/ci-virtualenv
Some checks failed
publish / publish (push) Has been cancelled
Some checks failed
publish / publish (push) Has been cancelled
ci: add ubuntu arm runners
This commit is contained in:
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
@@ -20,10 +20,13 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
os:
|
||||||
|
- ubuntu-latest
|
||||||
|
- ubuntu-22.04-arm
|
||||||
node_version:
|
node_version:
|
||||||
- 20
|
- 20
|
||||||
- 18
|
- 18
|
||||||
@@ -98,7 +101,7 @@ jobs:
|
|||||||
});
|
});
|
||||||
await core.group(`Set includes`, async () => {
|
await core.group(`Set includes`, async () => {
|
||||||
let includes = [];
|
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) {
|
for (const test of tests) {
|
||||||
if (test === 'docker/install.test.itg.ts') {
|
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' });
|
includes.push({ os: os, test: test, test_name: 'root', docker_install_type: 'image', docker_install_version: '27.3.1' });
|
||||||
|
|||||||
2
.github/workflows/virtual-env.yml
vendored
2
.github/workflows/virtual-env.yml
vendored
@@ -24,6 +24,8 @@ jobs:
|
|||||||
- ubuntu-24.04
|
- ubuntu-24.04
|
||||||
- ubuntu-22.04
|
- ubuntu-22.04
|
||||||
- ubuntu-20.04
|
- ubuntu-20.04
|
||||||
|
- ubuntu-24.04-arm
|
||||||
|
- ubuntu-22.04-arm
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: File system
|
name: File system
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ describe('download', () => {
|
|||||||
])(
|
])(
|
||||||
'acquires %p of docker (%s)', async (source, platformOS) => {
|
'acquires %p of docker (%s)', async (source, platformOS) => {
|
||||||
jest.spyOn(osm, 'platform').mockImplementation(() => platformOS as NodeJS.Platform);
|
jest.spyOn(osm, 'platform').mockImplementation(() => platformOS as NodeJS.Platform);
|
||||||
|
jest.spyOn(osm, 'arch').mockImplementation(() => 'x64');
|
||||||
const install = new Install({
|
const install = new Install({
|
||||||
source: source,
|
source: source,
|
||||||
runDir: tmpDir,
|
runDir: tmpDir,
|
||||||
|
|||||||
Reference in New Issue
Block a user