mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
[#66563] Split Playwright setup steps
Split the CI setup into separate Playwright dependency and browser install steps. This shows whether apt or the browser download is slow when a matrix job stalls. Add short step timeouts so a stalled install fails quickly instead of holding the browser matrix open indefinitely. https://community.openproject.org/wp/66563
This commit is contained in:
@@ -51,8 +51,13 @@ jobs:
|
||||
- name: Register plugins
|
||||
run: npm run ci:plugins:register_frontend
|
||||
|
||||
- name: Install Playwright dependencies
|
||||
timeout-minutes: 5
|
||||
run: npx playwright install-deps ${{ matrix.browser }}
|
||||
|
||||
- name: Install Playwright Browser
|
||||
run: npx playwright install --only-shell --with-deps ${{ matrix.browser }}
|
||||
timeout-minutes: 5
|
||||
run: npx playwright install --only-shell ${{ matrix.browser }}
|
||||
|
||||
- name: Test
|
||||
run: npm test -- --browsers ${{ matrix.browser }} --reporters dot --reporters github-actions
|
||||
|
||||
Reference in New Issue
Block a user