-
Notifications
You must be signed in to change notification settings - Fork 72
55 lines (53 loc) · 1.3 KB
/
integration_test_windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Windows App Integration Test
on:
pull_request:
branches: [main]
paths-ignore:
- '.prettierrc'
- '.eslintrc.json'
- '.prettierignore'
- 'README.md'
- '.husky/**'
- '.vscode/**'
- 'scripts/**'
- '.gitignore'
- 'todesktop.json'
push:
branches: [main]
paths-ignore:
- '.prettierrc'
- '.eslintrc.json'
- '.prettierignore'
- 'README.md'
- '.husky/**'
- '.vscode/**'
- 'scripts/**'
- '.gitignore'
- 'todesktop.json'
jobs:
integration-windows-test:
runs-on: windows-latest
env:
SKIP_HARDWARE_VALIDATION: 'true'
steps:
- name: Github checkout
uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/build/windows/app
with:
sign-and-publish: false
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Run Playwright Tests
run: npm run test:e2e
- name: Upload screenshots
uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: screenshot
path: screenshot*.png
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30