Skip to content

Commit 858ddf4

Browse files
committed
cleanup
1 parent 4731204 commit 858ddf4

File tree

5 files changed

+23
-26
lines changed

5 files changed

+23
-26
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ updates:
4949
- package-ecosystem: "pip"
5050
directories:
5151
- "/"
52-
- "/lambdas/ack_backend"
5352
- "/backend"
5453
- "/batch_processor_filter"
5554
- "/delta_backend"
@@ -58,6 +57,7 @@ updates:
5857
- "/filenameprocessor"
5958
- "/mesh_processor"
6059
- "/recordprocessor"
60+
- "/lambdas/ack_backend"
6161
- "/lambdas/redis_sync"
6262
- "/lambdas/id_sync"
6363
- "/lambdas/mns_subscription"

.github/workflows/sonarcloud.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,6 @@ jobs:
8080
poetry run coverage run -m unittest discover -p "*batch*.py" || echo "recordforwarder tests failed" >> ../failed_tests.txt
8181
poetry run coverage xml -o ../recordforwarder-coverage.xml
8282
83-
- name: Run unittest with coverage-ack-lambda
84-
working-directory: lambdas/ack_backend
85-
id: acklambda
86-
env:
87-
PYTHONPATH: ${{ env.LAMBDA_PATH }}/ack_backend/src:${{ github.workspace }}/ack_backend/tests
88-
continue-on-error: true
89-
run: |
90-
poetry install
91-
poetry run coverage run -m unittest discover || echo "ack-lambda tests failed" >> ../../failed_tests.txt
92-
poetry run coverage xml -o ../../ack-lambda-coverage.xml
93-
9483
- name: Run unittest with coverage-delta
9584
working-directory: delta_backend
9685
id: delta
@@ -122,6 +111,17 @@ jobs:
122111
poetry run coverage run -m unittest discover || echo "mesh_processor tests failed" >> ../failed_tests.txt
123112
poetry run coverage xml -o ../mesh_processor-coverage.xml
124113
114+
- name: Run unittest with coverage-ack-lambda
115+
working-directory: lambdas/ack_backend
116+
id: acklambda
117+
env:
118+
PYTHONPATH: ${{ env.LAMBDA_PATH }}/ack_backend/src:${{ github.workspace }}/ack_backend/tests
119+
continue-on-error: true
120+
run: |
121+
poetry install
122+
poetry run coverage run -m unittest discover || echo "ack-lambda tests failed" >> ../../failed_tests.txt
123+
poetry run coverage xml -o ../../ack-lambda-coverage.xml
124+
125125
- name: Run unittest with coverage-mns-subscription
126126
working-directory: lambdas/mns_subscription
127127
id: mns_subscription

immunisation-fhir-api.code-workspace

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
{
1313
"path": "recordprocessor"
1414
},
15-
{
16-
"path": "lambdas/ack_backend"
17-
},
1815
{
1916
"path": "delta_backend"
2017
},
@@ -27,6 +24,9 @@
2724
{
2825
"path": "e2e_batch"
2926
},
27+
{
28+
"path": "lambdas/ack_backend"
29+
},
3030
{
3131
"path": "lambdas/redis_sync"
3232
},

lambdas/.coveragerc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,3 @@ omit =
66
id_sync/tests/*
77
id_sync/tests/*/*
88
id_sync/tests/*/*/*
9-
ack_backend/tests/*
10-
ack_backend/tests/*/*
11-
ack_backend/tests/*/*/*

terraform/shared.tf

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Define locals for shared lambdas
2-
locals {
3-
shared_dir = abspath("${path.root}/../shared")
4-
5-
shared_files = fileset(local.shared_dir, "**")
6-
7-
shared_dir_sha = sha1(join("", [for f in local.shared_files : filesha1("${local.shared_dir}/${f}")]))
8-
}
1+
# Define locals for shared lambdas
2+
locals {
3+
shared_dir = abspath("${path.root}/../shared")
4+
5+
shared_files = fileset(local.shared_dir, "**")
6+
7+
shared_dir_sha = sha1(join("", [for f in local.shared_files : filesha1("${local.shared_dir}/${f}")]))
8+
}

0 commit comments

Comments
 (0)