Skip to content

Test Installers

Test Installers #10

Workflow file for this run

name: Test Installers
permissions:
contents: read
on:
workflow_dispatch:
inputs:
bucket_name:
type: string
description: 'S3 bucket to download installers from'
required: true
bucket_key_prefix:
type: string
description: 'S3 bucket key prefix to download installers from'
required: true
version:
type: string
description: 'Version of the installer to download'
required: true
jobs:
test:
name: '${{ matrix.test }} test ${{ matrix.format }} on ${{ matrix.platform }} (${{ matrix.arch }})'
strategy:
fail-fast: false
matrix:
test:
- time-to-first-query
- auto-update-from
platform:
- name: windows
arch: x64
runs-on: windows-latest
hadron-platform: windows
- name: osx
arch: x64
runs-on: macos-13
hadron-platform: darwin
- name: osx
arch: arm64
runs-on: macos-latest
hadron-platform: darwin
- name: linux
arch: x64
runs-on: ubuntu-latest
hadron-platform: linux
test_command_prefix: "xvfb"
format:
- zip
- setup
- msi
- dmg
- deb
- tar
- rpm
hadron-distribution:
- compass
exclude:
# Excluding formats per platform
- platform.name: osx

Check failure on line 61 in .github/workflows/test-installers.yml

View workflow run for this annotation

GitHub Actions / Test Installers

Invalid workflow file

The workflow is not valid. .github/workflows/test-installers.yml (Line: 61, Col: 13): Matrix exclude key 'platform.name' does not match any key within the matrix .github/workflows/test-installers.yml (Line: 63, Col: 13): Matrix exclude key 'platform.name' does not match any key within the matrix
format: setup
- platform.name: osx
format: msi
- platform.name: osx
format: deb
- platform.name: osx
format: tar
- platform.name: osx
format: rpm
- platform.name: windows
format: dmg
- platform.name: windows
format: deb
- platform.name: windows
format: tar
- platform.name: windows
format: rpm
- platform.name: linux
format: setup
- platform.name: linux
format: msi
- platform.name: linux
format: dmg
# Temporarily disable running on Windows, Ubuntu
- platform.name: windows
- platform.name: linux
# Temporarily disable running the auto-update-from
- test: auto-update-from
runs-on: ${{ matrix.platform.runs-on }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Run tests
env:
EVERGREEN_BUCKET_NAME: ${{ inputs.bucket_name }}
EVERGREEN_BUCKET_KEY_PREFIX: ${{ inputs.bucket_key_prefix }}
DEV_VERSION_IDENTIFIER: ${{ inputs.version }}
HADRON_DISTRIBUTION: ${{ matrix.hadron-distribution }}
PLATFORM: ${{ matrix.hadron-platform }}
ARCH: ${{ matrix.arch }}
working-directory: packages/compass-smoke-tests
run: npm start -- --package ${{ matrix.platform }}_${{ matrix.format }} --tests ${{ matrix.test }}