File tree Expand file tree Collapse file tree 4 files changed +2
-8
lines changed
Expand file tree Collapse file tree 4 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 8686 poetry install
8787 poetry run coverage run -m unittest discover || echo "delta tests failed" >> ../failed_tests.txt
8888 poetry run coverage xml -o ../delta-coverage.xml
89- cat ../delta-coverage.xml
9089
9190 - name : Run unittest with coverage-fhir-api
9291 working-directory : backend
@@ -130,7 +129,6 @@ jobs:
130129 poetry install
131130 poetry run coverage run --rcfile=.coveragerc --source=src -m unittest discover -s tests -p "test_*.py" -v || echo "shared tests failed" >> ../../failed_tests.txt
132131 poetry run coverage xml -o ../../shared-coverage.xml
133- cat ../../shared-coverage.xml
134132
135133 - name : Run unittest with id_sync
136134 working-directory : lambdas/id_sync
@@ -143,7 +141,6 @@ jobs:
143141 poetry install
144142 poetry run coverage run --rcfile=.coveragerc --source=src -m unittest discover || echo "id_sync tests failed" >> ../../failed_tests.txt
145143 poetry run coverage xml -o ../../id_sync-coverage.xml
146- cat ../../id_sync-coverage.xml
147144
148145 - name : Run Test Failure Summary
149146 id : check_failure
Original file line number Diff line number Diff line change 5656 echo Apigee environment: $APIGEE_ENVIRONMENT
5757 echo pr_no: $pr_no
5858
59- echo "Output dirs"
60- ls
6159 cd terraform
6260
6361 make init
Original file line number Diff line number Diff line change 11import unittest
22from unittest .mock import patch , MagicMock
3- import json
43
54
65with patch ('common.log_decorator.logging_decorator' ) as mock_decorator :
Original file line number Diff line number Diff line change 88logger = logging .getLogger ()
99logger .setLevel ("INFO" )
1010
11- STREAM_NAME = os .getenv ("SPLUNK_FIREHOSE_NAME" , "firehose-name-not-defined " )
12- CONFIG_BUCKET_NAME = os .getenv ("CONFIG_BUCKET_NAME" , "variconfig-bucketable -not-defined" )
11+ STREAM_NAME = os .getenv ("SPLUNK_FIREHOSE_NAME" , "immunisation-fhir-api-internal-dev-splunk-firehose " )
12+ CONFIG_BUCKET_NAME = os .getenv ("CONFIG_BUCKET_NAME" , "variable -not-defined" )
1313
1414REGION_NAME = os .getenv ("AWS_REGION" , "eu-west-2" )
1515REDIS_HOST = os .getenv ("REDIS_HOST" , "" )
You can’t perform that action at this time.
0 commit comments