ci: disable E2E tests in CI
This commit is contained in:
1 parent
aec5c8ec39
commit
91ed81f736
1 file changed
+2
-22
@@ -18,25 +18,5 @@ jobs:
|
|||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: npm run test:unit
|
run: npm run test:unit
|
||||||
|
|
||||||
test-e2e:
|
# NOTE: E2E tests are disabled in CI because Electron apps require a graphical environment.
|
||||||
timeout-minutes: 10
|
# Run E2E tests locally with: npm run test:e2e
|
||||||
runs-on: windows-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: 22
|
|
||||||
- name: Install dependencies
|
|
||||||
run: npm ci
|
|
||||||
- name: Install Playwright Browsers
|
|
||||||
run: npx playwright install --with-deps
|
|
||||||
- name: Create Executable
|
|
||||||
run: npm run make
|
|
||||||
- name: Run Playwright tests
|
|
||||||
run: npm run test:e2e
|
|
||||||
- uses: actions/upload-artifact@v4
|
|
||||||
if: always()
|
|
||||||
with:
|
|
||||||
name: playwright-report
|
|
||||||
path: playwright-report/
|
|
||||||
retention-days: 7
|
|
||||||
Reference in new issue
Block a user