add playwrite test
This commit is contained in:
parent
5fc45f1bf8
commit
fa8e0c0030
2 changed files with 25 additions and 0 deletions
18
.woodpecker/playwright.yaml
Normal file
18
.woodpecker/playwright.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
when:
|
||||
- event: push
|
||||
branch: main
|
||||
|
||||
depends_on:
|
||||
- test
|
||||
|
||||
services:
|
||||
- name: miniauth
|
||||
image: rg.fr-par.scw.cloud/namespace-miniauth/miniauth
|
||||
ports:
|
||||
- 8080
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: mcr.microsoft.com/playwright:v1.51.0-noble
|
||||
commands:
|
||||
- npx playwright test
|
||||
|
|
@ -7,3 +7,10 @@ steps:
|
|||
image: golang:1.24
|
||||
commands:
|
||||
- go test ./...
|
||||
- name: build-docker-image
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
repo: rg.fr-par.scw.cloud/namespace-miniauth/miniauth
|
||||
dockerfile: Dockerfile
|
||||
platforms: linux/amd64,linux/arm64,linux/arm64/v8
|
||||
tag: next
|
||||
|
|
|
|||
Reference in a new issue