Skip to content

feat: Initial integration test with Playwright #12

feat: Initial integration test with Playwright

feat: Initial integration test with Playwright #12

Workflow file for this run

name: Playwright App Windows Test
on:
workflow_dispatch:
workflow_call:
push:
branches:
- "enh/playwright-tests"
pull_request:
branches:
- "main"
paths:
- ".github/workflows/test_windows.yml"
jobs:
build-windows-debug:
runs-on: windows-latest
steps:
- name: Github checkout
uses: actions/checkout@v4
- name: Declare some variables
run: |
echo "sha_short=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV"
shell: bash
- name: Build
uses: ./.github/actions/build/windows/app
with:
build-gpu: 'cpu'
sign-and-publish: false
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Run Playwright Tests
run: npm run test:e2e
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: screenshot
path: screenshot*.png