Skip to content

Commit 751c780

Browse files
committed
Merge remote-tracking branch 'origin/master' into dev/NPA-4688_add_get_questionnaire_response
2 parents 8592fd0 + 76782ca commit 751c780

File tree

14 files changed

+805
-97
lines changed

14 files changed

+805
-97
lines changed

.github/workflows/openapi-validate.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,32 @@ jobs:
5757
run: |
5858
make schema-post-consent
5959
60+
PATCH_Consent:
61+
name: PATCH Consent test
62+
runs-on: ubuntu-latest
63+
steps:
64+
- name: Checkout repository
65+
uses: actions/checkout@v4
66+
67+
- name: Set up Python
68+
uses: actions/setup-python@v5
69+
with:
70+
python-version: 3.9
71+
72+
- name: Install Poetry
73+
shell: bash
74+
run: |
75+
pipx install poetry==1.8.5
76+
77+
- name: Install Script Packages with Poetry
78+
shell: bash
79+
run: |
80+
poetry install --all-extras
81+
82+
- name: Run Python script for all files
83+
run: |
84+
make schema-patch-consent
85+
6086
GET_RelatedPerson:
6187
name: GET Related Person test
6288
runs-on: ubuntu-latest
@@ -109,6 +135,32 @@ jobs:
109135
run: |
110136
make schema-questionnaire
111137
138+
GET_Questionnaire:
139+
name: GET questionnaire test
140+
runs-on: ubuntu-latest
141+
steps:
142+
- name: Checkout repository
143+
uses: actions/checkout@v4
144+
145+
- name: Set up Python
146+
uses: actions/setup-python@v5
147+
with:
148+
python-version: 3.9
149+
150+
- name: Install Poetry
151+
shell: bash
152+
run: |
153+
pipx install poetry==1.8.5
154+
155+
- name: Install Script Packages with Poetry
156+
shell: bash
157+
run: |
158+
poetry install --all-extras
159+
160+
- name: Run Python script for all files
161+
run: |
162+
make schema-get-questionnaire
163+
112164
Errors:
113165
name: Error schema test
114166
runs-on: ubuntu-latest

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ lint:
2424
format:
2525
find . -name '*.py' -not -path '**/.venv/*' | xargs poetry run black --check --line-length 120
2626

27+
format-apply:
28+
find . -name '*.py' -not -path '**/.venv/*' | xargs poetry run black --line-length 120
29+
2730
#Removes build/ + dist/ directories
2831
clean:
2932
rm -rf build

0 commit comments

Comments
 (0)