Skip to content

Commit cd1823c

Browse files
committed
Arm the workflow
1 parent 40056b2 commit cd1823c

File tree

1 file changed

+91
-3
lines changed

1 file changed

+91
-3
lines changed

.github/workflows/test-installers.yml

Lines changed: 91 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,87 @@ 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+
hadron-platform: windows
36+
- name: osx
37+
arch: x64
38+
runs-on: macos-13
39+
hadron-platform: darwin
40+
- name: osx
41+
arch: arm64
42+
runs-on: macos-latest
43+
hadron-platform: darwin
44+
- name: linux
45+
arch: x64
46+
runs-on: ubuntu-latest
47+
hadron-platform: linux
48+
test_command_prefix: "xvfb"
49+
format:
50+
- zip
51+
- setup
52+
- msi
53+
- dmg
54+
- deb
55+
- tar
56+
- rpm
57+
hadron-distribution:
58+
- compass
59+
exclude:
60+
# Excluding formats per platform
61+
- platform:
62+
name: osx
63+
format: setup
64+
- platform:
65+
name: osx
66+
format: msi
67+
- platform:
68+
name: osx
69+
format: deb
70+
- platform:
71+
name: osx
72+
format: tar
73+
- platform:
74+
name: osx
75+
format: rpm
76+
- platform:
77+
name: windows
78+
format: dmg
79+
- platform:
80+
name: windows
81+
format: deb
82+
- platform:
83+
name: windows
84+
format: tar
85+
- platform:
86+
name: windows
87+
format: rpm
88+
- platform:
89+
name: linux
90+
format: setup
91+
- platform:
92+
name: linux
93+
format: msi
94+
- platform:
95+
name: linux
96+
format: dmg
97+
# Temporarily disable running on Windows, Ubuntu
98+
- platform:
99+
name: windows
100+
- platform:
101+
name: linux
102+
# Temporarily disable running the auto-update-from
103+
- test: auto-update-from
104+
runs-on: ${{ matrix.platform.runs-on }}
26105
steps:
27106
- name: Checkout
28107
uses: actions/checkout@v2
@@ -33,4 +112,13 @@ jobs:
33112
cache: "npm"
34113
- name: Install dependencies
35114
run: npm ci
36-
115+
- name: Run tests
116+
env:
117+
EVERGREEN_BUCKET_NAME: ${{ inputs.bucket_name }}
118+
EVERGREEN_BUCKET_KEY_PREFIX: ${{ inputs.bucket_key_prefix }}
119+
DEV_VERSION_IDENTIFIER: ${{ inputs.version }}
120+
HADRON_DISTRIBUTION: ${{ matrix.hadron-distribution }}
121+
PLATFORM: ${{ matrix.platform.hadron-platform }}
122+
ARCH: ${{ matrix.platform.arch }}
123+
working-directory: packages/compass-smoke-tests
124+
run: npm start -- --package ${{ matrix.platform.name }}_${{ matrix.format }} --tests ${{ matrix.test }}

0 commit comments

Comments
 (0)