File tree Expand file tree Collapse file tree 5 files changed +23
-26
lines changed
Expand file tree Collapse file tree 5 files changed +23
-26
lines changed Original file line number Diff line number Diff 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"
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 1212 {
1313 "path" : " recordprocessor"
1414 },
15- {
16- "path" : " lambdas/ack_backend"
17- },
1815 {
1916 "path" : " delta_backend"
2017 },
2724 {
2825 "path" : " e2e_batch"
2926 },
27+ {
28+ "path" : " lambdas/ack_backend"
29+ },
3030 {
3131 "path" : " lambdas/redis_sync"
3232 },
Original file line number Diff line number Diff line change 66 id_sync/tests/*
77 id_sync/tests/*/*
88 id_sync/tests/*/*/*
9- ack_backend/tests/*
10- ack_backend/tests/*/*
11- ack_backend/tests/*/*/*
Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments