-
Notifications
You must be signed in to change notification settings - Fork 25
105 lines (80 loc) · 2.32 KB
/
end2end-tests.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
name: "StrictDoc - End-to-end tests"
on:
pull_request:
branches: [ "**" ]
# UI tests take 10+ minutes and will continue to grow.
# Reducing the trigger to only changes in the Web frontend-related code.
paths:
- 'strictdoc/export/html/**'
- 'strictdoc/server/**'
- 'tests/end2end/**'
jobs:
tests_end2end_macos:
name: E2E - macOS
runs-on: macOS-latest
strategy:
matrix:
python-version: ["3.7"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: |
python -m pip install --upgrade pip
- name: Install Invoke and Tox
run: |
pip install invoke tox
- name: Run end-to-end tasks
run: |
invoke test-end2end --long-timeouts
tests_end2end_linux:
name: E2E - Linux
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: |
python -m pip install --upgrade pip
- name: Install Invoke and Tox
run: |
pip install invoke tox
- name: Run end-to-end tasks
run: |
invoke test-end2end --long-timeouts
build:
name: E2E - Windows
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.7"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: |
python -m pip install --upgrade pip
- name: Install core development tools
run: |
pip install invoke tox toml
- name: "Windows specific: Install StrictDoc's dependencies"
run: |
python developer/pip_install_strictdoc_deps.py
- name: "Windows specific: Install Check dependencies (everything for test)"
run: |
pip install -r requirements.check.txt
- name: Run end-to-end tasks
run: |
invoke test-end2end --long-timeouts --exit-first