Skip to content

Commit 734c0ff

Browse files
committed
Arm the workflow
1 parent 88c7bfe commit 734c0ff

File tree

1 file changed

+74
-3
lines changed

1 file changed

+74
-3
lines changed

.github/workflows/test-installers.yml

Lines changed: 74 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,71 @@ on:
2121

2222
jobs:
2323
test:
24-
name: Dummy action
25-
runs-on: ubuntu-latest
24+
name: '${{ matrix.test }} test ${{ matrix.format }} on ${{ matrix.platform.name }} (${{ matrix.platform.arch }})'
25+
strategy:
26+
fail-fast: false
27+
matrix:
28+
test:
29+
- time-to-first-query
30+
- auto-update-from
31+
platform:
32+
- name: windows
33+
arch: x64
34+
runs-on: windows-latest
35+
- name: osx
36+
arch: x64
37+
runs-on: macos-13
38+
- name: osx
39+
arch: arm64
40+
runs-on: macos-latest
41+
- name: linux
42+
arch: x64
43+
runs-on: ubuntu-latest
44+
test_command_prefix: "xvfb"
45+
include:
46+
# Windows formats
47+
- platform.name: windows
48+
format: setup
49+
- platform.name: windows
50+
format: msi
51+
- platform.name: windows
52+
format: zip
53+
54+
# OSX formats
55+
- platform.name: osx
56+
format: dmg
57+
- platform.name: osx
58+
format: zip
59+
60+
# Linux formats
61+
- platform.name: linux
62+
format: deb
63+
- platform.name: linux
64+
format: tar
65+
- platform.name: linux
66+
format: rpm
67+
68+
# Hadron platform names pr OS
69+
- platform.name: windows
70+
hadron-platform: win32
71+
- platform.name: osx
72+
hadron-platform: darwin
73+
- platform.name: linux
74+
hadron-platform: linux
75+
76+
exclude:
77+
# Temporarily disable running on Windows, Ubuntu
78+
- platform:
79+
- name: windows
80+
- platform:
81+
- name: linux
82+
# Temporarily disable running on osx zip installer
83+
- platform:
84+
- name: osx
85+
format: zip
86+
# Temporarily disable running the auto-update-from
87+
- test: auto-update-from
88+
runs-on: ${{ matrix.platform.runs-on }}
2689
steps:
2790
- name: Checkout
2891
uses: actions/checkout@v2
@@ -33,4 +96,12 @@ jobs:
3396
cache: "npm"
3497
- name: Install dependencies
3598
run: npm ci
36-
99+
- name: Run tests
100+
env:
101+
EVERGREEN_BUCKET_NAME: ${{ inputs.bucket_name }}
102+
EVERGREEN_BUCKET_KEY_PREFIX: ${{ inputs.bucket_key_prefix }}
103+
DEV_VERSION_IDENTIFIER: ${{ inputs.version }}
104+
PLATFORM: ${{ matrix.hadron-platform }}
105+
ARCH: ${{ matrix.platform.arch }}
106+
working-directory: packages/compass-smoke-tests
107+
run: npm start -- --package ${{ matrix.platform.name }}_${{ matrix.format }} --tests ${{ matrix.test }}

0 commit comments

Comments
 (0)