Update OpenAPI specs (#204) #657
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
name: Continuous Integration | |
on: [push, pull_request] | |
jobs: | |
Testing_Model_APIs: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
- name: Installing node modules | |
run: npm install | |
working-directory: ./test | |
- name: Installing Dredd | |
run: sudo npm install dredd --global --unsafe-perm=true --allow-root | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
- name: Install pipenv | |
run: pip install pipenv | |
- name: Installing python modules | |
run: pipenv install --system | |
working-directory: ./test | |
- name: Build the stack | |
run: docker-compose up -d | |
shell: bash | |
working-directory: ./test | |
- name: Waiting for OpenSearch domain to be up. | |
run: sh ./.github/workflows/domain-check.sh | |
- name: Run script file | |
run: | | |
# Disabling TLS certificate verfication as hosted on docker. | |
export NODE_TLS_REJECT_UNAUTHORIZED=0 | |
python driver-code.py | |
shell: bash | |
working-directory: ./test/scripts | |