Skip to content

Commit 76782ca

Browse files
NPA-4575: Update sandbox with consent patch (#163)
* Updated sandbox with patch endpoint * Updated postman collection * Added patch consent to schema workflow checks
1 parent 1a0704c commit 76782ca

File tree

14 files changed

+779
-97
lines changed

14 files changed

+779
-97
lines changed

.github/workflows/openapi-validate.yml

Lines changed: 26 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

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)