Skip to content

Commit c826a45

Browse files
committed
test1
1 parent d73d6fd commit c826a45

24 files changed

+29
-10
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ updates:
5858
- "/mesh_processor"
5959
- "/recordprocessor"
6060
- "/redis_sync"
61-
- "/id_sync"
61+
- "/lambdas/id_sync"
6262
schedule:
6363
interval: "daily"
6464
open-pull-requests-limit: 1

.github/workflows/sonarcloud.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,16 +125,16 @@ jobs:
125125
poetry run coverage xml -o ../redis_sync-coverage.xml
126126
127127
- name: Run unittest with id_sync
128-
working-directory: id_sync
128+
working-directory: lambdas/id_sync
129129
id: id_sync
130130
env:
131-
PYTHONPATH: ${{ github.workspace }}/id_sync/src:${{ github.workspace }}/id_sync/tests
131+
PYTHONPATH: ${{ github.workspace }}/lambdas/id_sync/src:${{ github.workspace }}/lambdas/id_sync/tests
132132
continue-on-error: true
133133
run: |
134134
poetry env use 3.11
135135
poetry install
136-
poetry run coverage run -m unittest discover || echo "id_sync tests failed" >> ../failed_tests.txt
137-
poetry run coverage xml -o ../id_sync-coverage.xml
136+
poetry run coverage run -m unittest discover || echo "id_sync tests failed" >> ../../failed_tests.txt
137+
poetry run coverage xml -o ../../id_sync-coverage.xml
138138
139139
- name: Run Test Failure Summary
140140
id: check_failure

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ openapi.json
3030

3131
devtools/volume/
3232
backend/tests/.coverage
33+
redis_sync/.vscode/settings.json.default

immunisation-fhir-api.code-workspace

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"path": "redis_sync"
3232
},
3333
{
34-
"path": "id_sync"
34+
"path": "lambdas/id_sync"
3535
}
3636
],
3737
"settings": {},
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"python.analysis.extraPaths": [
3+
"./src"
4+
],
5+
"python.testing.unittestArgs": [
6+
"-v",
7+
"-s",
8+
"./",
9+
"-p",
10+
"test_*.py"
11+
],
12+
"python.testing.pytestEnabled": false,
13+
"python.testing.unittestEnabled": true,
14+
"pylint.args": [
15+
"--init-hook",
16+
"import sys; sys.path.append('./src')"
17+
]
18+
}
File renamed without changes.

0 commit comments

Comments
 (0)