Created
June 9, 2020 23:44
-
-
Save PaulDuvall/625adc613384a719f54f8790705c7ca9 to your computer and use it in GitHub Desktop.
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
version: 0.2 | |
phases: | |
install: | |
runtime-versions: | |
nodejs: 10 | |
commands: | |
- node --version | |
- npm install newman --global | |
- yum install -y jq | |
pre_build: | |
commands: | |
- >- | |
aws s3 cp "s3://${S3_BUCKET}/postman-env-files/postman_environment.json" | |
. | |
- >- | |
aws s3 cp "s3://${S3_BUCKET}/postman-env-files/collection.json" | |
. | |
- chmod +x *.sh | |
- ./update-postman-env-file.sh ${SAM_STACK_NAME} | |
build: | |
commands: | |
- >- | |
newman run collection.json --environment postman_environment.json -r | |
junit | |
reports: | |
JUnitReports: | |
files: | |
- '**/*' | |
base-directory: newman |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment