Skip to content

Commit f424395

Browse files
committed
Arm the workflow
1 parent 88c7bfe commit f424395

File tree

1 file changed

+77
-3
lines changed

1 file changed

+77
-3
lines changed

.github/workflows/test-installers.yml

Lines changed: 77 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,73 @@ 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 }} (${{ matrix.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.name: osx
62+
format: setup
63+
- platform.name: osx
64+
format: msi
65+
- platform.name: osx
66+
format: deb
67+
- platform.name: osx
68+
format: tar
69+
- platform.name: osx
70+
format: rpm
71+
- platform.name: windows
72+
format: dmg
73+
- platform.name: windows
74+
format: deb
75+
- platform.name: windows
76+
format: tar
77+
- platform.name: windows
78+
format: rpm
79+
- platform.name: linux
80+
format: setup
81+
- platform.name: linux
82+
format: msi
83+
- platform.name: linux
84+
format: dmg
85+
# Temporarily disable running on Windows, Ubuntu
86+
- platform.name: windows
87+
- platform.name: linux
88+
# Temporarily disable running the auto-update-from
89+
- test: auto-update-from
90+
runs-on: ${{ matrix.platform.runs-on }}
2691
steps:
2792
- name: Checkout
2893
uses: actions/checkout@v2
@@ -33,4 +98,13 @@ jobs:
3398
cache: "npm"
3499
- name: Install dependencies
35100
run: npm ci
36-
101+
- name: Run tests
102+
env:
103+
EVERGREEN_BUCKET_NAME: ${{ inputs.bucket_name }}
104+
EVERGREEN_BUCKET_KEY_PREFIX: ${{ inputs.bucket_key_prefix }}
105+
DEV_VERSION_IDENTIFIER: ${{ inputs.version }}
106+
HADRON_DISTRIBUTION: ${{ matrix.hadron-distribution }}
107+
PLATFORM: ${{ matrix.hadron-platform }}
108+
ARCH: ${{ matrix.arch }}
109+
working-directory: packages/compass-smoke-tests
110+
run: npm start -- --package ${{ matrix.platform }}_${{ matrix.format }} --tests ${{ matrix.test }}

0 commit comments

Comments
 (0)