Skip to content

Commit

Permalink
Run dredd with hookfiles.
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <dblock@amazon.com>
  • Loading branch information
dblock committed May 10, 2024
1 parent 03647e6 commit 3882042
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
- name: Test
working-directory: ./tools
run: |-
npm run dredd -- --user "admin:$OPENSEARCH_INITIAL_ADMIN_PASSWORD" ../build/min.yaml https://localhost:9200
npm run dredd -- --user "admin:$OPENSEARCH_INITIAL_ADMIN_PASSWORD" ../build/opensearch-openapi.yaml https://localhost:9200
3 changes: 0 additions & 3 deletions tools/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"merge": "ts-node merger/merge.ts",
"lint:spec": "ts-node linter/lint.ts",
"lint": "eslint .",
"test": "jest"
"test": "jest",
"dredd": "dredd --hookfiles=./dredd/all.js"
},
"dependencies": {
"@apidevtools/swagger-parser": "^10.1.0",
Expand Down

0 comments on commit 3882042

Please sign in to comment.