ui/frontend: cap Playwright at 4 workers, retry 4 times #8
@@ -19,10 +19,10 @@ on:
|
|||||||
# Playwright launches its own `pnpm dev` on :5173. In host-mode the
|
# Playwright launches its own `pnpm dev` on :5173. In host-mode the
|
||||||
# runner shares the host's port namespace, so two parallel ui-test
|
# runner shares the host's port namespace, so two parallel ui-test
|
||||||
# jobs (e.g. a push event racing with a pull_request event for the
|
# jobs (e.g. a push event racing with a pull_request event for the
|
||||||
# same commit) collide on EADDRINUSE. Group by branch/ref and cancel
|
# same commit) collide on EADDRINUSE. Group by the head commit so
|
||||||
# the in-progress run so only one ui-test is alive at a time per ref.
|
# push and pull_request events for the same sha share one bucket.
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ui-test-${{ gitea.ref }}
|
group: ui-test-${{ gitea.event.pull_request.head.sha || gitea.sha }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
Reference in New Issue
Block a user