Skip to content

Commit dc21826

Browse files
ci(integ-test-deployment): use integ runner with strict flag (#35974)
### Reason for this change Previously `integration-test-deployment` was passing in silent if some of the test were not found. We want to make sure that all the changed integ tests in a PR ran, or workflow should fail. ### Change `integration-test-deployment` to use `integ-runner` with `--strict` flag so that workflow fails in case of test not found. ### Testing Test run on fork: https://github.com/Abogical/aws-cdk/actions/runs/19229944532/job/54965890882?pr=19 ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 0a058b8 commit dc21826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/@aws-cdk/integration-test-deployment/lib/integration-test-runner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export const bootstrap = async (env: NodeJS.ProcessEnv) => {
9090
export const deployIntegrationTest = async (env: NodeJS.ProcessEnv, snapshotPaths: string[]) => {
9191
console.log(`Deploying snapshots:\n${snapshotPaths.join('\n')}`);
9292

93-
const spawnProcess = spawn('yarn', ['integ-runner', '--disable-update-workflow', '--directory', 'packages', '--force', ...snapshotPaths], {
93+
const spawnProcess = spawn('yarn', ['integ-runner', '--disable-update-workflow', '--strict', '--directory', 'packages', '--force', ...snapshotPaths], {
9494
stdio: ['ignore', 'inherit', 'inherit'],
9595
env,
9696
});

0 commit comments

Comments
 (0)