Skip to content

Commit

Permalink
feat: 测试
Browse files Browse the repository at this point in the history
  • Loading branch information
whyrove committed Jan 15, 2025
1 parent 35b5439 commit 950502f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ui-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ jobs:
with:
version: '9'

- name: npm install, build, and test
id: demo
- name: pnpm install
run: |
pnpm install
- name: pnpm run ui:test
run: |
pnpm run ui:test
- name: upload test result
Expand Down
5 changes: 4 additions & 1 deletion scripts/ui-test.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# 判断是否已经有reference
backstop test
if [ ! -d "/backstop_data/bitmaps_reference" ];then
backstop reference
else backstop test
fi

0 comments on commit 950502f

Please sign in to comment.