-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (38 loc) · 1.07 KB
/
Copy pathtest.yml
File metadata and controls
39 lines (38 loc) · 1.07 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
name: E2E tests
on:
pull_request:
branches: [ main ]
jobs:
tests:
strategy:
matrix:
python_version: ['3.10']
node_version: ['18']
os: [macOS-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out source code
uses: actions/checkout@v2
- name: Set up python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
- name: Set up node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node_version }}
- name: Use cache
uses: actions/cache@v2
with:
path: |
**/node_modules
key: ${{ runner.os }}-${{ matrix.node_version }}-${{ hashFiles('**/package-lock.json') }}
- name: Install test app dependencies
run: npm run build:test-app
- name: Setup Python Env
run: |
python -m pip install --upgrade pip
python --version
python -m pip install -e .
- name: Run e2e tests
run: python example/spectron_with_test_app.py