diff options
| -rw-r--r-- | .github/workflows/apex-deploy.yml | 22 | ||||
| -rw-r--r-- | workers/.gitignore | 1 |
2 files changed, 22 insertions, 1 deletions
diff --git a/.github/workflows/apex-deploy.yml b/.github/workflows/apex-deploy.yml index 6459ac7a..d5258c23 100644 --- a/.github/workflows/apex-deploy.yml +++ b/.github/workflows/apex-deploy.yml @@ -27,7 +27,27 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: { node-version: 22 } - - run: cd workers && npm ci && npx vitest run + - run: >- + cd workers && npm ci && npx vitest run + --reporter=default --reporter=junit + --outputFile=test-results/junit-apex-deploy-test-vitest-s0.xml + - name: Upload test results to Codecov + if: >- + ${{ !cancelled() && + (github.event_name != 'pull_request' || + github.event.pull_request.head.repo.full_name == github.repository) && + github.actor != 'dependabot[bot]' }} + uses: codecov/codecov-action@0fb7174895f61a3b6b78fc075e0cd60383518dac # v5.5.5 + timeout-minutes: 5 + continue-on-error: true + with: + report_type: test_results + files: workers/test-results/junit-apex-deploy-test-vitest-s0.xml + disable_search: true + fail_ci_if_error: false + flags: unit-vitest-s0 + name: unit-vitest-s0 + version: v11.3.1 deploy-canary: needs: test diff --git a/workers/.gitignore b/workers/.gitignore index ef5b8080..4b240bc1 100644 --- a/workers/.gitignore +++ b/workers/.gitignore @@ -1,3 +1,4 @@ node_modules/ .wrangler/ dist/ +test-results/ |
