add playwrite test
Some checks failed
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/playwright unknown status

This commit is contained in:
kekskurse 2025-03-12 15:58:27 +01:00
parent 5fc45f1bf8
commit fa8e0c0030
2 changed files with 25 additions and 0 deletions

View 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

View file

@ -7,3 +7,10 @@ steps:
image: golang:1.24 image: golang:1.24
commands: commands:
- go test ./... - 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