-
Notifications
You must be signed in to change notification settings - Fork 3
156 lines (146 loc) · 4.6 KB
/
run-tests-push.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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
name: Run Tests (On Push)
on:
push:
jobs:
run-tests-ubuntu-22_04-python-3_9:
runs-on: ubuntu-22.04
name: Ubuntu 22.04, Python 3.9
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.9"
- run: sudo apt install xvfb
- run: pip install --upgrade pip
- run: pip install .[dev]
# - run: xvfb-run pytest tests/
- run: tests/cmd_tests.sh
run-tests-ubuntu-22_04-python-3_10:
runs-on: ubuntu-22.04
name: Ubuntu 22.04, Python 3.10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- run: sudo apt install xvfb
- run: pip install --upgrade pip
- run: pip install .[dev]
- run: xvfb-run pytest tests/
- run: tests/cmd_tests.sh
# run-tests-ubuntu-22_04-python-3_11_0rc2:
# runs-on: ubuntu-22.04
# name: Ubuntu 22.04, Python 3.11.0rc2
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-python@v4
# with:
# python-version: "3.11.0-rc.2"
# - run: sudo apt install xvfb
# - run: pip install --upgrade pip
# - run: pip install .[dev]
# - run: xvfb-run pytest tests/
#
# run-tests-ubuntu-22_04-python-3_11_0:
# runs-on: ubuntu-22.04
# name: Ubuntu 22.04, Python 3.11.1
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-python@v4
# with:
# python-version: "3.11.0"
# - run: sudo apt install xvfb
# - run: pip install --upgrade pip
# - run: pip install .[dev]
# - run: xvfb-run pytest tests/
#
# run-tests-ubuntu-22_04-python-3_11_1:
# runs-on: ubuntu-22.04
# name: Ubuntu 22.04, Python 3.11.1
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-python@v4
# with:
# python-version: "3.11.1"
# - run: sudo apt install xvfb
# - run: pip install --upgrade pip
# - run: pip install .[dev]
# - run: xvfb-run pytest tests/
run-tests-ubuntu-22_04-python-3_11_2:
runs-on: ubuntu-22.04
name: Ubuntu 22.04, Python 3.11.2
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11.2"
- run: sudo apt install xvfb
- run: pip install --upgrade pip
- run: pip install .[dev]
- run: xvfb-run pytest tests/
run-tests-ubuntu-22_04-python-3_11:
runs-on: ubuntu-22.04
name: Ubuntu 22.04, Python 3.11
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- run: sudo apt install xvfb
- run: pip install --upgrade pip
- run: pip install .[dev]
- run: xvfb-run pytest tests/
# run-tests-ubuntu-22_04-python-3_12_0_alpha5:
# runs-on: ubuntu-22.04
# name: Ubuntu 22.04, Python 3.12.0alpha5
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-python@v4
# with:
# python-version: "3.12.0-alpha.5"
# - run: sudo apt install xvfb
# - run: pip install --upgrade pip
# - run: pip install .[dev]
# - run: xvfb-run pytest tests/
run-tests-ubuntu-22_04-python-3_11_from_apt:
runs-on: ubuntu-22.04
name: Ubuntu 22.04, Python from Apt
steps:
- uses: actions/checkout@v3
- run: sudo apt install python3.11-full python3-pip xvfb
- run: python3.11 -m pip install --upgrade pip
- run: python3.11 -m pip install -e .[dev]
- run: xvfb-run python3.11 -mpytest tests/
- run: tests/cmd_tests.sh
# run-tests-ubuntu-22_10-python-3_11_from_apt:
#runs-on: ubuntu-22.10
#name: Ubuntu 22.10, Python from Apt
#steps:
#- uses: actions/checkout@v3
#- run: sudo apt install python3.11-full python3-pip xvfb
#- run: python3.11 -m pip install --upgrade pip
#- run: python3.11 -m pip install -e .[dev]
#- run: xvfb-run python3.11 -mpytest tests/
#- run: tests/cmd_tests.sh
#run-tests-ubuntu-23_04-python-3_11_from_apt:
#runs-on: ubuntu-23.04
#name: Ubuntu 23.04, Python from Apt
#steps:
#- uses: actions/checkout@v3
#- run: sudo apt install python3.11-full python3-pip xvfb
#- run: python3.11 -m pip install --upgrade pip
#- run: python3.11 -m pip install -e .[dev]
#- run: xvfb-run python3.11 -mpytest tests/
#- run: tests/cmd_tests.sh
# run-tests-ubuntu-22_04-pypy3:
# runs-on: ubuntu-22.04
# name: Ubuntu 22.04, PyPy 3
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-python@v4
# with:
# python-version: "pypy3.9"
# - run: sudo apt install pypy3 pypy3-tk pypy3-dev xvfb
# - run: pypy3 -mpip install -U pip wheel
# - run: pypy3 -mpip install .[dev]
# - run: xvfb-run pytest tests/