package.json
:
.circleci/config.yml
in your repository with the following contents:
MOMENTIC_API_KEY
environment variable in your CircleCI project settings.
MOMENTIC_API_KEY
and enter the value of your API key.--shard-index
and --shard-count
options to the momentic run
command. The shard-index
is the index of the current shard (starting from 1), and shard-count
is the total number of shards.
In order to collect test results inside a single run group in Momentic cloud, you need to add a separate step after all tests complete to merge and upload results.