-
Notifications
You must be signed in to change notification settings - Fork 914
47 lines (37 loc) · 1.08 KB
/
eclipse-test.yml
File metadata and controls
47 lines (37 loc) · 1.08 KB
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
name: Eclipse Tests
on:
push:
pull_request:
jobs:
test:
name: Playwright Tests (Eclipse)
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Install Playwright Browsers
working-directory: apps/eclipse
run: npx playwright install --with-deps
- name: Build eclipse app
run: pnpm turbo run build --filter=eclipse
- name: Run Playwright tests
run: pnpm --filter=eclipse exec playwright test
env:
ARGOS_TOKEN: ${{ secrets.ARGOS_TOKEN }}
- name: Upload Playwright Report
uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report-eclipse
path: apps/eclipse/playwright-report/
retention-days: 30