Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Having a dry run mode is very useful, e.g. in a CI/CD pipeline the dry run mode can be run on feature branches and pull requests to verify that the Gauge specs are in a valid state for publishing. If they are not valid then the CI/CD pipeline build can fail, alerting the submitter of the pull request to amend them on the feature branch. This ensures that the Gauge specs are always in good shape to be automatically published by the CI/CD pipeline upon any push to the trunk branch (e.g. upon a successful pull request merge). The dry run mode is set by setting a `DRY_RUN` environment variable or property (we can't use a command-line flag for this as [Gauge does not propagate command line flags to documentation plugins][1]). [1]: getgauge/spectacle#42 (comment)
- Loading branch information