Skip to content

Commit 7713b6c

Browse files
committed
Assert run name
1 parent 23b1aee commit 7713b6c

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/test-installers.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ permissions:
66
on:
77
workflow_dispatch:
88
inputs:
9+
version:
10+
type: string
11+
description: 'Version of the installer to download'
12+
required: true
913
bucket_name:
1014
type: string
1115
description: 'S3 bucket to download installers from'
@@ -14,10 +18,8 @@ on:
1418
type: string
1519
description: 'S3 bucket key prefix to download installers from'
1620
required: true
17-
version:
18-
type: string
19-
description: 'Version of the installer to download'
20-
required: true
21+
22+
run-name: Test Installers (${{ github.event.inputs.version }} / ${{ github.ref_name }})
2123

2224
jobs:
2325
test:

packages/compass-smoke-tests/src/dispatch.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@ export async function dispatchAndWait({
160160
pollDelayMs: createPollDelayMs,
161161
sanityDelayMs,
162162
});
163+
164+
// Ensure the run has the expected name
165+
assert.equal(run.name, `Test Installers (${version} / ${ref})`);
166+
163167
console.log(`Dispatched run #${run.run_number} (${run.html_url})`);
164168

165169
for (

0 commit comments

Comments
 (0)