Skip to content
This repository was archived by the owner on Apr 22, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 26 additions & 12 deletions .github/workflows/integ.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions .projen/tasks.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions packages/@aws-cdk-testing/cli-integ/lib/cli/run-suite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ async function main() {
type: 'boolean',
requiresArg: false,
})
.options('shard', {
description: 'The test suite shard to execute in a format of (?<shardIndex>\\d+)/(?<shardCount>\\d+).',
type: 'string',
requiresArg: true,
})
.help()
.showHelpOnFail(false)
.argv;
Expand Down Expand Up @@ -128,6 +133,7 @@ async function main() {
...args.verbose ? ['--verbose'] : [],
...passWithNoTests ? ['--passWithNoTests'] : [],
...args['test-file'] ? [args['test-file']] : [],
...args.shard ? [`--shard=${args.shard}`] : [],
], path.resolve(__dirname, '..', '..', 'resources', 'integ.jest.config.js'));
} finally {
await packageSource.cleanup();
Expand Down
Loading