NPA-3899 Validate Consent Example #286
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: Sandbox Check | |
on: pull_request | |
jobs: | |
sandbox-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install poetry | |
run: pipx install poetry | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.8' | |
cache: 'poetry' | |
- name: Install Sandbox dependencies | |
run: make install | |
working-directory: ./sandbox | |
- name: Install CI dependencies | |
run: poetry install --only ci --no-root | |
- name: Check Sandbox Formatting | |
run: make format | |
- name: Run Sandbox Linting | |
run: make lint | |
- name: Run Sandbox Unit Tests | |
run: make test | |
working-directory: ./sandbox | |
run-postman-collection: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '22' | |
- name: Install Newman | |
run: npm install -g newman | |
- name: Run Postman Collection | |
run: newman run ./postman/Validate_Relationship_Service_Sandbox.postman_collection.json |