mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-03 21:28:59 +00:00
ci: the performance-workflow contract test follows the renamed labels
The test pins the literal workflow name and the release-gate label; both moved to the Russian names of #327. Issue: #327 User-Visible: no
This commit is contained in:
@@ -43,7 +43,7 @@ jobs:
|
||||
run: |
|
||||
set -euo pipefail
|
||||
SHA=$(git rev-parse HEAD)
|
||||
node scripts/release-gate.mjs "$SHA" --workflow=performance.yml --label="Full Performance"
|
||||
node scripts/release-gate.mjs "$SHA" --workflow=performance.yml --label="Полные бенчмарки производительности"
|
||||
build:
|
||||
name: Сборка бандла и загрузка ассетов
|
||||
needs: gate
|
||||
|
||||
@@ -22,7 +22,7 @@ test('ordinary Validate keeps only the bounded candidate performance smoke', ()
|
||||
test('full performance is isolated to stable, scheduled and manual entry points', () => {
|
||||
const workflow = readWorkflow('performance.yml');
|
||||
for (const contract of [
|
||||
'name: Full Performance',
|
||||
'name: Полные бенчмарки производительности',
|
||||
'branches:',
|
||||
'- main',
|
||||
'schedule:',
|
||||
@@ -44,5 +44,5 @@ test('full performance is isolated to stable, scheduled and manual entry points'
|
||||
|
||||
const release = readWorkflow('release.yml');
|
||||
assert.ok(release.includes('if: ${{ !github.event.release.prerelease }}'));
|
||||
assert.ok(release.includes('--workflow=performance.yml --label="Full Performance"'));
|
||||
assert.ok(release.includes('--workflow=performance.yml --label="Полные бенчмарки производительности"'));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user