0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-05-13 21:56:10 +02:00

Split playwright install back into separate make target

Restore make playwright as a separate target so CI can run it as its
own step before test-e2e.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
silverwind 2026-02-15 12:19:31 +01:00
parent 03f05abb67
commit 4a0366d696
No known key found for this signature in database
GPG Key ID: 2E62B41C93869443
2 changed files with 6 additions and 2 deletions

View File

@ -51,5 +51,6 @@ jobs:
INSTALL_LOCK = true
EOF
- run: ./gitea web &
- run: make playwright
- run: E2E_URL=http://localhost:3000 make test-e2e
timeout-minutes: 10

View File

@ -553,9 +553,12 @@ test-mssql\#%: integrations.mssql.test generate-ini-mssql
.PHONY: test-mssql-migration
test-mssql-migration: migrations.mssql.test migrations.individual.mssql.test
.PHONY: test-e2e
test-e2e: deps-frontend
.PHONY: playwright
playwright: deps-frontend
@$(NODE_VARS) pnpm exec playwright install --with-deps chromium $(PLAYWRIGHT_FLAGS)
.PHONY: test-e2e
test-e2e: playwright
EXECUTABLE=$(EXECUTABLE) ./tools/test-e2e.sh $(E2E_FLAGS)
.PHONY: bench-sqlite