File tree Expand file tree Collapse file tree 1 file changed +123
-0
lines changed Expand file tree Collapse file tree 1 file changed +123
-0
lines changed Original file line number Diff line number Diff line change 1+ # evaluating GitHub actions for CI, disconsider failures when evaluating PRs
2+ #
3+ # this is still missing:
4+ # - deploy
5+ # - coverage
6+ # - upload github notes
7+ #
8+ name : main
9+
10+ on :
11+ push :
12+ branches :
13+ - master
14+ pull_request :
15+ branches :
16+ - master
17+
18+ jobs :
19+ build :
20+
21+ runs-on : ${{ matrix.os }}
22+
23+ strategy :
24+ fail-fast : false
25+ matrix :
26+ name : [
27+ " windows-py35" ,
28+ " windows-py36" ,
29+ " windows-py37" ,
30+ " windows-py37-pluggy" ,
31+ " windows-py38" ,
32+
33+ " ubuntu-py35" ,
34+ " ubuntu-py36" ,
35+ " ubuntu-py37" ,
36+ " ubuntu-py37-pluggy" ,
37+ " ubuntu-py37-freeze" ,
38+ " ubuntu-py38" ,
39+ " ubuntu-pypy3" ,
40+
41+ " macos-py37" ,
42+ " macos-py38" ,
43+
44+ " linting" ,
45+ ]
46+
47+ include :
48+ - name : " windows-py35"
49+ python : " 3.5"
50+ os : windows-latest
51+ tox_env : " py35-xdist"
52+ - name : " windows-py36"
53+ python : " 3.6"
54+ os : windows-latest
55+ tox_env : " py36-xdist"
56+ - name : " windows-py37"
57+ python : " 3.7"
58+ os : windows-latest
59+ tox_env : " py37-twisted-numpy"
60+ - name : " windows-py37-pluggy"
61+ python : " 3.7"
62+ os : windows-latest
63+ tox_env : " py37-pluggymaster-xdist"
64+ - name : " windows-py38"
65+ python : " 3.8"
66+ os : windows-latest
67+ tox_env : " py38"
68+
69+ - name : " ubuntu-py35"
70+ python : " 3.5"
71+ os : ubuntu-latest
72+ tox_env : " py35-xdist"
73+ - name : " ubuntu-py36"
74+ python : " 3.6"
75+ os : ubuntu-latest
76+ tox_env : " py36-xdist"
77+ - name : " ubuntu-py37"
78+ python : " 3.7"
79+ os : ubuntu-latest
80+ tox_env : " py37-lsof-numpy-oldattrs-pexpect-twisted"
81+ - name : " ubuntu-py37-pluggy"
82+ python : " 3.7"
83+ os : ubuntu-latest
84+ tox_env : " py37-pluggymaster-xdist"
85+ - name : " ubuntu-py37-freeze"
86+ python : " 3.7"
87+ os : ubuntu-latest
88+ tox_env : " py37-freeze"
89+ - name : " ubuntu-py38"
90+ python : " 3.8"
91+ os : ubuntu-latest
92+ tox_env : " py38-xdist"
93+ - name : " ubuntu-pypy3"
94+ python : " pypy3"
95+ os : ubuntu-latest
96+ tox_env : " pypy3-xdist"
97+
98+ - name : " macos-py37"
99+ python : " 3.7"
100+ os : macos-latest
101+ tox_env : " py37-xdist"
102+ - name : " macos-py38"
103+ python : " 3.8"
104+ os : macos-latest
105+ tox_env : " py38-xdist"
106+
107+ - name : " linting"
108+ python : " 3.7"
109+ os : ubuntu-latest
110+ tox_env : " linting,docs,doctesting"
111+
112+ steps :
113+ - uses : actions/checkout@v1
114+ - name : Set up Python ${{ matrix.python }}
115+ uses : actions/setup-python@v1
116+ with :
117+ python-version : ${{ matrix.python }}
118+ - name : Install dependencies
119+ run : |
120+ python -m pip install --upgrade pip
121+ pip install tox
122+ - name : Test
123+ run : tox -e ${{ matrix.tox_env }}
You can’t perform that action at this time.
0 commit comments