Skip to content

Commit e255f99

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

File tree

1 file changed

+78
-3
lines changed

1 file changed

+78
-3
lines changed

.github/workflows/test-installers.yml

Lines changed: 78 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,74 @@ 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+
- windows
33+
- osx
34+
- linux
35+
hadron-distribution:
36+
- compass
37+
include:
38+
# Windows formats
39+
- platform: windows
40+
format: setup
41+
- platform: windows
42+
format: msi
43+
- platform: windows
44+
format: zip
45+
46+
# OSX formats
47+
- platform: osx
48+
format: dmg
49+
- platform: osx
50+
format: zip
51+
52+
# Linux formats
53+
- platform: linux
54+
format: deb
55+
- platform: linux
56+
format: tar
57+
- platform: linux
58+
format: rpm
59+
60+
# Runner per platform
61+
- platform: windows
62+
arch: x64
63+
runs-on: windows-latest
64+
- platform: osx
65+
arch: x64
66+
runs-on: macos-13
67+
- platform: osx
68+
arch: arm64
69+
runs-on: macos-latest
70+
- platform: linux
71+
arch: x64
72+
runs-on: ubuntu-latest
73+
test_command_prefix: "xvfb"
74+
75+
# Hadron platform names pr OS
76+
- platform: windows
77+
hadron-platform: windows
78+
- platform: osx
79+
hadron-platform: darwin
80+
- platform: linux
81+
hadron-platform: linux
82+
83+
exclude:
84+
# Temporarily disable running on Windows, Ubuntu
85+
- platform:
86+
name: windows
87+
- platform:
88+
name: linux
89+
# Temporarily disable running the auto-update-from
90+
- test: auto-update-from
91+
runs-on: ${{ matrix.runs-on }}
2692
steps:
2793
- name: Checkout
2894
uses: actions/checkout@v2
@@ -33,4 +99,13 @@ jobs:
3399
cache: "npm"
34100
- name: Install dependencies
35101
run: npm ci
36-
102+
- name: Run tests
103+
env:
104+
EVERGREEN_BUCKET_NAME: ${{ inputs.bucket_name }}
105+
EVERGREEN_BUCKET_KEY_PREFIX: ${{ inputs.bucket_key_prefix }}
106+
DEV_VERSION_IDENTIFIER: ${{ inputs.version }}
107+
HADRON_DISTRIBUTION: ${{ matrix.hadron-distribution }}
108+
PLATFORM: ${{ matrix.hadron-platform }}
109+
ARCH: ${{ matrix.arch }}
110+
working-directory: packages/compass-smoke-tests
111+
run: npm start -- --package ${{ matrix.platform }}_${{ matrix.format }} --tests ${{ matrix.test }}

0 commit comments

Comments
 (0)