File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,15 @@ jobs:
1919 pwd
2020 pip install poetry moto==4.2.11 coverage redis botocore==1.35.49 simplejson responses structlog fhir.resources jsonpath_ng pydantic==1.10.13 requests aws-lambda-typing cffi pyjwt boto3-stubs-lite[dynamodb]~=1.26.90
2121 poetry run coverage run --source=backend -m unittest discover
22+ poetry run coverage xml -o sonarcloud-coverage.xml
2223
2324 working-directory : " /home/runner/work/immunisation-fhir-api/immunisation-fhir-api/backend"
2425
25- - name : Coverage
26- run : poetry run coverage xml -o sonarcloud-coverage.xml
27- working-directory : " /home/runner/work/immunisation-fhir-api/immunisation-fhir-api"
28-
26+ - name : Aggregate coverage report
27+ run : |
28+ ls -R /home/runner/work/immunisation-fhir-api/immunisation-fhir-api/backend
29+ mv /home/runner/work/immunisation-fhir-api/immunisation-fhir-api/backend/sonarcloud-coverage.xml /home/runner/work/immunisation-fhir-api/immunisation-fhir-api/sonarcloud-coverage.xml
30+
2931
3032 - name : SonarCloud Scan
3133 uses : SonarSource/sonarcloud-github-action@master
You can’t perform that action at this time.
0 commit comments