uses: actions/upload-artifact@v4
with:
name: backend-coverage-report
- path: coverage.xml
+ path: |
+ coverage.xml
+ junit.xml
retention-days: 7
if-no-files-found: error
-
# future expansion
flags: backend
directory: src/
+ -
+ name: Upload test results to Codecov
+ if: ${{ !cancelled() }}
+ uses: codecov/test-results-action@v1
+ with:
+ token: ${{ secrets.CODECOV_TOKEN }}
+ flags: backend
+ directory: src/
-
name: Use Node.js 20
uses: actions/setup-node@v4
"--maxprocesses=16",
"--quiet",
"--durations=50",
+ "--junitxml=junit.xml",
+ "-o junit_family=legacy",
]
norecursedirs = [ "src/locale/", ".venv/", "src-ui/" ]