Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Chore: Move to using the codecov action instead of the test-results-action (#11179)

Tom Hu1c4fa7237c15
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a560c506e..17e9a4109 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -181,10 +181,11 @@ jobs:
pytest
- name: Upload backend test results to Codecov
if: always()
- uses: codecov/test-results-action@v1
+ uses: codecov/codecov-action@v5
with:
flags: backend-python-${{ matrix.python-version }}
files: junit.xml
+ report_type: test_results
- name: Upload backend coverage to Codecov
uses: codecov/codecov-action@v5
with:
@@ -260,11 +261,12 @@ jobs:
- name: Run Jest unit tests
run: cd src-ui && pnpm run test --max-workers=2 --shard=${{ matrix.shard-index }}/${{ matrix.shard-count }}
- name: Upload frontend test results to Codecov
- uses: codecov/test-results-action@v1
if: always()
+ uses: codecov/codecov-action@v5
with:
flags: frontend-node-${{ matrix.node-version }}
directory: src-ui/
+ report_type: test_results
- name: Upload frontend coverage to Codecov
uses: codecov/codecov-action@v5
with: