我想要运行自动剧作家测试与Github行动。我为此创建了一个职位,但没有任何效果。我还应该考虑什么呢?以下是我的..github/workflow/playwright.yml. the的内容:
name: Playwright Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
schedule:
- cron: '12 14 * * Mon-Fri'
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14.x'
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v2
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30发布于 2022-07-25 14:20:23
跑步迟到了两个小时。这里需要耐心。
发布于 2022-07-25 15:32:03
https://stackoverflow.com/questions/73110140
复制相似问题