-
Notifications
You must be signed in to change notification settings - Fork 26
54 lines (44 loc) · 1.31 KB
/
e2e-site.yaml
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
name: E2E site testing
on:
push:
tags:
- v*
branches:
- main
- develop
- feat-add-e2e-test # TODO(user): remove it
workflow_dispatch:
jobs:
e2e-current:
name: e2e current latest branch
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-ver: ["3.11", "3.12"]
os: [self-hosted-arm64, ubuntu-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-ver }}
- name: header
run: |
echo -e "\e[1;33m┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\e[0m
\e[1;33m┃\e[0m \e[1;36m E2E Test \e[0m \e[1;33m┃\e[0m
\e[1;33m┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛\e[0m"
- name: install frappe from current commit
run: |
cd ..
python -m pip install --upgrade ./Frappe-Manager
- name: frappe version
run: fm --version
- name: e2e run
timeout-minutes: 20
working-directory: test
run: |
./e2e_test.sh
- name: cleanup
if: always()
run: |
python -m pip uninstall -y frappe-manager
sudo rm -rf ~/frappe