forked from writer/writer-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (32 loc) · 875 Bytes
/
e2e.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
name: E2E Tests
on:
push:
branches: [ dev, master]
pull_request:
branches: [ dev, master]
jobs:
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.11.8"
- name: Use Node.js 18
uses: actions/setup-node@v4
with:
node-version: 18
- name: update package manager & install python3 environment
run: |
sudo pip install poetry
poetry install --with build
- name: Install npm dependencies
run: npm ci
- name: Build UI
run: npm run build
- name: Install E2E browsers
working-directory: e2e_tests
run: npx playwright install --with-deps
- name: Run E2E tests
run: poetry run alfred ci --e2e