Skip to content

Commit

Permalink
ci(unit-test): [alert] add unit test actions
Browse files Browse the repository at this point in the history
  • Loading branch information
zzcr committed Dec 19, 2024
1 parent 6985dd2 commit e4eb610
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test-unit-pr.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: E2E Test PR
run-name: E2E Test PR--${{ github.event.pull_request.title }}
name: Unit Test PR
run-name: Unit Test PR--${{ github.event.pull_request.title }}
on:
pull_request:
types: [opened, reopened, synchronize, edited]
Expand Down Expand Up @@ -32,7 +32,7 @@ jobs:
components = [...new Set(components)].slice(0, 3).join(' ')
core.setOutput('testComponents', components)
} else {
const warningString =`**[e2e-test-warn]**
const warningString =`**[unit-test-warn]**
The component to be tested is missing.
The title of the Pull request should look like "fix(vue-renderless): [action-menu, alert] fix xxx bug".
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
matrix:
testcli: ${{ fromJson(needs.parse-components.outputs.testclis) }}

name: PR E2E Test
name: PR Unit Test
needs: parse-components
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -102,5 +102,5 @@ jobs:
- name: Install dependencies
run: pnpm i --no-frozen-lockfile

- name: E2E unit
- name: Unit Test
run: pnpm test:unit3 ${{ env.TEST_COMPONENTS }}

0 comments on commit e4eb610

Please sign in to comment.