Skip to content

Commit d20a278

Browse files
committed
Delete a test
1 parent a999059 commit d20a278

File tree

7 files changed

+207
-352
lines changed

7 files changed

+207
-352
lines changed

.github/actions/test-coverage/action.yml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,11 @@ runs:
3333
commit: ${{ github.event.pull_request.base.sha }}
3434
if_no_artifact_found: ignore
3535

36-
- name: 💬 Comment coverage on PR
36+
- name: 💬 Comment coverage diff
3737
if: github.event_name == 'pull_request'
38-
# Posts coverage report as a PR comment
39-
# Note: This action tries to run tests itself even with skip-step: all
40-
# It will use the coverage-file if provided, but may still attempt to collect base branch coverage
41-
# SECURITY: Pinned to commit SHA. To update, visit:
42-
# https://github.com/ArtiomTr/jest-coverage-report-action/releases
43-
continue-on-error: true
44-
uses: ArtiomTr/jest-coverage-report-action@262a7bb0b20c4d1d6b6b026af0f008f78da72788 # v2
45-
with:
46-
github-token: ${{ inputs.github-token }}
47-
coverage-file: coverage/coverage-summary.json
48-
base-coverage-file: base-coverage/coverage-summary.json
49-
package-manager: pnpm
50-
skip-step: all
51-
threshold: 0
52-
annotations: none
38+
env:
39+
GITHUB_TOKEN: ${{ inputs.github-token }}
40+
PR_NUMBER: ${{ github.event.pull_request.number }}
41+
BASE_COVERAGE_ROOT: base-coverage/coverage
42+
run: node scripts/comment-coverage-diff.js
43+
shell: bash

.github/workflows/base-coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ jobs:
2828
uses: actions/upload-artifact@v4
2929
with:
3030
name: base-coverage
31-
path: coverage/coverage-summary.json
32-
retention-days: 90
31+
path: coverage
32+
retention-days: 14

packages/ui/src/components/__tests__/card.test.tsx

Lines changed: 0 additions & 152 deletions
This file was deleted.

packages/ui/src/components/__tests__/input.test.tsx

Lines changed: 0 additions & 94 deletions
This file was deleted.

packages/ui/src/components/__tests__/label.test.tsx

Lines changed: 0 additions & 65 deletions
This file was deleted.

0 commit comments

Comments
 (0)