File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 4
4
name : " Python Nightly Tests"
5
5
6
6
on :
7
+ push :
8
+ branches :
9
+ - " **/*nightly*"
7
10
schedule :
8
11
# Run at 2:22am early Saturday morning Eastern time (6/7:22 UTC)
9
12
# so that we get tips of CPython development tested.
21
24
22
25
jobs :
23
26
tests :
24
- name : " Python nightly ${{ matrix.python-version }}"
27
+ name : " Python ${{ matrix.python-version }}"
25
28
runs-on : ubuntu-latest
26
29
27
30
strategy :
@@ -34,14 +37,25 @@ jobs:
34
37
- " 3.9-dev"
35
38
- " 3.10-dev"
36
39
- " 3.11-dev"
40
+ # https://github.com/actions/setup-python#available-versions-of-pypy
41
+ - " pypy-3.7-nightly"
42
+ - " pypy-3.8-nightly"
43
+ - " pypy-3.9-nightly"
37
44
fail-fast : false
38
45
39
46
steps :
40
47
- name : " Check out the repo"
41
48
uses : " actions/checkout@v2"
42
49
43
- - name : " Install Python ${{ matrix.python-version }}"
50
+ - name : " Install ${{ matrix.python-version }} with deadsnakes "
44
51
uses :
" deadsnakes/[email protected] "
52
+ if : " !startsWith(matrix.python-version, 'pypy-')"
53
+ with :
54
+ python-version : " ${{ matrix.python-version }}"
55
+
56
+ - name : " Install ${{ matrix.python-version }} with setup-python"
57
+ uses : " actions/setup-python@v2"
58
+ if : " startsWith(matrix.python-version, 'pypy-')"
45
59
with :
46
60
python-version : " ${{ matrix.python-version }}"
47
61
52
66
python -m site
53
67
python -m pip install -r requirements/tox.pip
54
68
55
- - name : " Run tox for ${{ matrix.python-version }} "
69
+ - name : " Run tox"
56
70
run : |
57
71
python -m tox -- -rfsEX
You can’t perform that action at this time.
0 commit comments