Created
March 1, 2021 15:36
-
-
Save LouManglass/1fe3c672dd55298f1b250ac362f3bf98 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