feat: add Woodpecker CI configuration for tiered testing
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
when:
|
||||
event:
|
||||
- push
|
||||
- pull_request
|
||||
|
||||
pipeline:
|
||||
test-tier-fast:
|
||||
image: mcr.microsoft.com/playwright:v1.42.0-jammy
|
||||
environment:
|
||||
TEST_TIER: fast
|
||||
CI: true
|
||||
commands:
|
||||
- cd e2e
|
||||
- npm ci
|
||||
- npx playwright install --with-deps
|
||||
- npm run test:tier:fast
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
- develop
|
||||
- feat-dynamic
|
||||
|
||||
test-tier-standard:
|
||||
image: mcr.microsoft.com/playwright:v1.42.0-jammy
|
||||
environment:
|
||||
TEST_TIER: standard
|
||||
CI: true
|
||||
commands:
|
||||
- cd e2e
|
||||
- npm ci
|
||||
- npx playwright install --with-deps
|
||||
- npm run test:tier:standard
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
- develop
|
||||
|
||||
test-tier-deep:
|
||||
image: mcr.microsoft.com/playwright:v1.42.0-jammy
|
||||
environment:
|
||||
TEST_TIER: deep
|
||||
CI: true
|
||||
commands:
|
||||
- cd e2e
|
||||
- npm ci
|
||||
- npx playwright install --with-deps
|
||||
- npm run test:tier:deep
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
Reference in New Issue
Block a user