|
35 | 35 | aws configure set aws_access_key_id $AWS_ACCESS_KEY_ID |
36 | 36 | aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY |
37 | 37 |
|
38 | | - - name: Run unittest with filenameprocessor-coverage |
39 | | - working-directory: filenameprocessor |
40 | | - id: filenameprocessor |
41 | | - continue-on-error: true |
42 | | - run: | |
43 | | - poetry env use 3.10 |
44 | | - poetry install |
45 | | - poetry run coverage run -m unittest discover || echo "filenameprocessor tests failed" >> ../failed_tests.txt |
46 | | - poetry run coverage xml -o ../filenameprocessor-coverage.xml |
47 | | -
|
48 | | - - name: Run unittest with recordprocessor-coverage |
49 | | - working-directory: recordprocessor |
50 | | - id: recordprocessor |
51 | | - continue-on-error: true |
52 | | - run: | |
53 | | - poetry env use 3.10 |
54 | | - poetry install |
55 | | - poetry run coverage run -m unittest discover || echo "recordprocessor tests failed" >> ../failed_tests.txt |
56 | | - poetry run coverage xml -o ../recordprocessor-coverage.xml |
57 | | -
|
58 | | - # This step is redundant - all of these tests will be run in the backend step below |
59 | | - - name: Run unittest with recordforwarder-coverage |
60 | | - working-directory: backend |
61 | | - id: recordforwarder |
62 | | - continue-on-error: true |
63 | | - run: | |
64 | | - poetry env use 3.11 |
65 | | - poetry install |
66 | | - poetry run coverage run -m unittest discover -s "./tests" -p "*batch*.py" || echo "recordforwarder tests failed" >> ../failed_tests.txt |
67 | | - poetry run coverage xml -o ../recordforwarder-coverage.xml |
68 | | -
|
69 | | - - name: Run unittest with coverage-ack-lambda |
70 | | - working-directory: ack_backend |
71 | | - id: acklambda |
72 | | - continue-on-error: true |
73 | | - run: | |
74 | | - poetry env use 3.10 |
75 | | - poetry install |
76 | | - poetry run coverage run -m unittest discover || echo "ack-lambda tests failed" >> ../failed_tests.txt |
77 | | - poetry run coverage xml -o ../ack-lambda-coverage.xml |
78 | | -
|
79 | | - - name: Run unittest with coverage-delta |
80 | | - working-directory: delta_backend |
81 | | - id: delta |
82 | | - env: |
83 | | - PYTHONPATH: delta_backend/src:delta_backend/tests |
84 | | - continue-on-error: true |
85 | | - run: | |
86 | | - poetry env use 3.11 |
87 | | - poetry install |
88 | | - poetry run coverage run -m unittest discover || echo "delta tests failed" >> ../failed_tests.txt |
89 | | - poetry run coverage xml -o ../delta-coverage.xml |
90 | | -
|
91 | | - - name: Run unittest with coverage-fhir-api |
92 | | - working-directory: backend |
93 | | - id: fhirapi |
94 | | - continue-on-error: true |
95 | | - run: | |
96 | | - poetry env use 3.11 |
97 | | - poetry install |
98 | | - poetry run coverage run -m unittest discover || echo "fhir-api tests failed" >> ../failed_tests.txt |
99 | | - poetry run coverage xml -o ../backend-coverage.xml |
100 | | -
|
101 | | - - name: Run unittest with coverage-mesh-processor |
102 | | - working-directory: mesh_processor |
103 | | - id: meshprocessor |
104 | | - continue-on-error: true |
105 | | - run: | |
106 | | - poetry env use 3.10 |
107 | | - poetry install |
108 | | - poetry run coverage run -m unittest discover || echo "mesh_processor tests failed" >> ../failed_tests.txt |
109 | | - poetry run coverage xml -o ../mesh_processor-coverage.xml |
110 | | -
|
111 | | - - name: Run unittest with redis_sync |
112 | | - working-directory: redis_sync |
113 | | - id: redis_sync |
114 | | - env: |
115 | | - PYTHONPATH: ${{ github.workspace }}/redis_sync/src:${{ github.workspace }}/redis_sync/tests |
116 | | - continue-on-error: true |
117 | | - run: | |
118 | | - poetry env use 3.11 |
119 | | - poetry install |
120 | | - poetry run coverage run -m unittest discover || echo "redis_sync tests failed" >> ../failed_tests.txt |
121 | | - poetry run coverage xml -o ../redis_sync-coverage.xml |
122 | | -
|
123 | 38 | - name: Run Test Failure Summary |
124 | 39 | id: check_failure |
125 | 40 | run: | |
|
0 commit comments