NPA-4334: Change Workflows To Use Python 3.12 #141
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.13 | |
| - 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.13 | |
| - 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 | |
| PATCH_Consent: | |
| name: PATCH 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.13 | |
| - 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-patch-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.13 | |
| - 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.13 | |
| - 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 | |
| GET_Questionnaire: | |
| name: GET 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.13 | |
| - 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-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.13 | |
| - 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 |