From b0a0412f682c005116bd96417ccbe0095c282720 Mon Sep 17 00:00:00 2001 From: weli Date: Sun, 3 May 2026 11:05:13 +0800 Subject: [PATCH] ci: full Playwright workflow --- .gitea/workflows/playwright-music-room.yml | 37 ++++++++++++++++++---- 1 file changed, 31 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/playwright-music-room.yml b/.gitea/workflows/playwright-music-room.yml index b78027e..a209361 100644 --- a/.gitea/workflows/playwright-music-room.yml +++ b/.gitea/workflows/playwright-music-room.yml @@ -1,4 +1,4 @@ -name: Test CI +name: music-room Playwright (Gitea Actions) on: push: @@ -6,10 +6,35 @@ on: workflow_dispatch: jobs: - test: + playwright: runs-on: ubuntu-latest - timeout-minutes: 5 + timeout-minutes: 45 steps: - - run: echo "hello world" - - run: uname -a - - run: id + - uses: actions/checkout@v4 + + - name: 创建 .env.e2e + env: + MOICEN_E2E_UNIONID: ${{ secrets.MOICEN_E2E_UNIONID }} + MOICEN_ADMIN_USER: ${{ secrets.MOICEN_ADMIN_USER }} + MOICEN_ADMIN_PASSWORD: ${{ secrets.MOICEN_ADMIN_PASSWORD }} + MOICEN_HEALTHCHECK_URL: ${{ secrets.MOICEN_HEALTHCHECK_URL }} + run: | + cat > .env.e2e <