Update ci.yml

This commit is contained in:
shamoon 2025-03-05 13:27:25 -08:00
parent 30c3c7ff3a
commit a3e4ed9172

View File

@ -166,12 +166,18 @@ jobs:
if: ${{ matrix.python-version == env.DEFAULT_PYTHON_VERSION }} if: ${{ matrix.python-version == env.DEFAULT_PYTHON_VERSION }}
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: backend-coverage-report name: backend-test-results
path: | path: junit.xml
coverage.xml
junit.xml
retention-days: 7 retention-days: 7
if-no-files-found: error if-no-files-found: error
-
name: Upload coverage artifact
if: ${{ matrix.python-version == env.DEFAULT_PYTHON_VERSION }}
uses: actions/upload-artifact@v4
with:
name: backend-coverage-report
path: coverage.xml
retention-days: 7
- -
name: Stop containers name: Stop containers
if: always() if: always()
@ -303,6 +309,12 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }} token: ${{ secrets.CODECOV_TOKEN }}
flags: frontend flags: frontend
directory: src-ui/junit/ directory: src-ui/junit/
-
name: Download backend test results
uses: actions/download-artifact@v4
with:
name: backend-test-results
path: src/
- -
name: Upload backend test results to Codecov name: Upload backend test results to Codecov
uses: codecov/test-results-action@v1 uses: codecov/test-results-action@v1