Skip to content

Commit ce31d97

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

File tree

1 file changed

+84
-3
lines changed

1 file changed

+84
-3
lines changed

.github/workflows/test-installers.yml

Lines changed: 84 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,80 @@ 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+
hadron-distribution:
46+
- compass
47+
include:
48+
# Windows formats
49+
- platform:
50+
name: windows
51+
format: setup
52+
- platform:
53+
name: windows
54+
format: msi
55+
- platform:
56+
name: windows
57+
format: zip
58+
59+
# OSX formats
60+
- platform:
61+
name: osx
62+
format: dmg
63+
- platform:
64+
name: osx
65+
format: zip
66+
67+
# Linux formats
68+
- platform:
69+
name: linux
70+
format: deb
71+
- platform:
72+
name: linux
73+
format: tar
74+
- platform:
75+
name: linux
76+
format: rpm
77+
78+
# Hadron platform names pr OS
79+
- platform:
80+
name: windows
81+
hadron-platform: win32
82+
- platform:
83+
name: osx
84+
hadron-platform: darwin
85+
- platform:
86+
name: linux
87+
hadron-platform: linux
88+
89+
exclude:
90+
# Temporarily disable running on Windows, Ubuntu
91+
- platform:
92+
name: windows
93+
- platform:
94+
name: linux
95+
# Temporarily disable running the auto-update-from
96+
- test: auto-update-from
97+
runs-on: ${{ matrix.platform.runs-on }}
2698
steps:
2799
- name: Checkout
28100
uses: actions/checkout@v2
@@ -33,4 +105,13 @@ jobs:
33105
cache: "npm"
34106
- name: Install dependencies
35107
run: npm ci
36-
108+
- name: Run tests
109+
env:
110+
EVERGREEN_BUCKET_NAME: ${{ inputs.bucket_name }}
111+
EVERGREEN_BUCKET_KEY_PREFIX: ${{ inputs.bucket_key_prefix }}
112+
DEV_VERSION_IDENTIFIER: ${{ inputs.version }}
113+
HADRON_DISTRIBUTION: ${{ matrix.hadron-distribution }}
114+
PLATFORM: ${{ matrix.hadron-platform }}
115+
ARCH: ${{ matrix.platform.arch }}
116+
working-directory: packages/compass-smoke-tests
117+
run: npm start -- --package ${{ matrix.platform.name }}_${{ matrix.format }} --tests ${{ matrix.test }}

0 commit comments

Comments
 (0)