-
-
Save eznix86/1c4f2d35f48d7682c5123fd69fa65492 to your computer and use it in GitHub Desktop.
Sample Gitlab CI job configuration to run tests on merge requests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default: | |
image: node:15 | |
run-tests: | |
script: | |
- npm install @useoptic/cli # or add as a development dependency in your package manager | |
- npx api run run-diff-tests --exit-on-diff | |
only: | |
- merge_requests | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment