NPA-4591: Updated proxy target to only allow AAL3 CIS2 Users to POST Consent Endpoint #61
Workflow file for this run
This file contains hidden or 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: Open API Validate | |
| "on": | |
| pull_request: | |
| branches: [master] | |
| permissions: | |
| contents: read | |
| jobs: | |
| GET_Consent: | |
| name: GET Consent test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.9 | |
| - name: Install Poetry | |
| shell: bash | |
| run: | | |
| pipx install poetry==1.8.5 | |
| - name: Install Script Packages with Poetry | |
| shell: bash | |
| run: | | |
| poetry install --all-extras | |
| - name: Run Python script for all files | |
| run: | | |
| make schema-get-consent | |
| POST_Consent: | |
| name: POST Consent test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.9 | |
| - name: Install Poetry | |
| shell: bash | |
| run: | | |
| pipx install poetry==1.8.5 | |
| - name: Install Script Packages with Poetry | |
| shell: bash | |
| run: | | |
| poetry install --all-extras | |
| - name: Run Python script for all files | |
| run: | | |
| make schema-post-consent | |
| GET_RelatedPerson: | |
| name: GET Related Person test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.9 | |
| - name: Install Poetry | |
| shell: bash | |
| run: | | |
| pipx install poetry==1.8.5 | |
| - name: Install Script Packages with Poetry | |
| shell: bash | |
| run: | | |
| poetry install --all-extras | |
| - name: Run Python script for all files | |
| run: | | |
| make schema-related-person | |
| POST_Questionnaire: | |
| name: POST questionnaire test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.9 | |
| - name: Install Poetry | |
| shell: bash | |
| run: | | |
| pipx install poetry==1.8.5 | |
| - name: Install Script Packages with Poetry | |
| shell: bash | |
| run: | | |
| poetry install --all-extras | |
| - name: Run Python script for all files | |
| run: | | |
| make schema-questionnaire | |
| Errors: | |
| name: Error schema test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.9 | |
| - name: Install Poetry | |
| shell: bash | |
| run: | | |
| pipx install poetry==1.8.5 | |
| - name: Install Script Packages with Poetry | |
| shell: bash | |
| run: | | |
| poetry install --all-extras | |
| - name: Run Python script for all files | |
| run: | | |
| make schema-errors |