File tree Expand file tree Collapse file tree 4 files changed +13
-2
lines changed
eventcatalogasyncapiimporter Expand file tree Collapse file tree 4 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -124,14 +124,22 @@ jobs:
124124 name : unit-tests
125125 path : test-results
126126
127- - name : " Publish test report"
127+ - name : " Publish Jest test report"
128128 uses : dorny/test-reporter@v1
129129 with :
130130 name : Jest Test Report
131- path : ' test-results/**/* .xml'
131+ path : ' test-results/**/junit .xml'
132132 reporter : jest-junit
133133 fail-on-error : false
134134
135+ - name : " Publish pytest test report"
136+ uses : dorny/test-reporter@v1
137+ with :
138+ name : Pytest Test Report
139+ path : ' test-results/**/pytest-report.xml'
140+ reporter : java-junit
141+ fail-on-error : false
142+
135143 test-lint :
136144 name : " Linting"
137145 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ addopts =
1212 --cov-report =term-missing
1313 --cov-report =xml:coverage.xml
1414 --cov-config =pytest.ini
15+ --junit-xml =.reports/unit/pytest-report.xml
1516markers =
1617 unit: Unit tests
1718 integration: Integration tests
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ addopts =
1313 --cov-report =xml:coverage.xml
1414 --cov-config =pytest.ini
1515 --cov-branch
16+ --junit-xml =.reports/unit/pytest-report.xml
1617markers =
1718 unit: Unit tests
1819
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ addopts =
1414 -v
1515 --tb =short
1616 --strict-markers
17+ --junit-xml =.reports/unit/pytest-report.xml
1718
1819[tool:pytest]
1920testpaths = tests
You can’t perform that action at this time.
0 commit comments