This commit is contained in:
@@ -12,10 +12,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
run: |
|
||||
mkdir -p /work
|
||||
git clone http://127.0.0.1:3006/weli/huike-e2e-moicen.git /work
|
||||
cd /work
|
||||
git clone http://127.0.0.1:3006/weli/huike-e2e-moicen.git .
|
||||
git checkout ${{ github.sha }}
|
||||
|
||||
- name: Install deps & Chromium
|
||||
run: |
|
||||
@@ -23,9 +21,7 @@ jobs:
|
||||
npm ci
|
||||
npx playwright install chromium --with-deps
|
||||
|
||||
- name: Playwright tests
|
||||
env:
|
||||
MOICEN_E2E_UNIONID: ${{ secrets.MOICEN_E2E_UNIONID }}
|
||||
- name: Run tests
|
||||
run: |
|
||||
cd /work
|
||||
npx playwright test
|
||||
|
||||
Reference in New Issue
Block a user