File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : gh
2
+
3
+ on :
4
+ create : # is used for publishing to PyPI and TestPyPI
5
+ tags : # any tag regardless of its name, no branches
6
+ push : # only publishes pushes to the main branch to TestPyPI
7
+ branches : # any branch but not tag
8
+ - >-
9
+ **
10
+ tags-ignore :
11
+ - >-
12
+ **
13
+ pull_request :
14
+
15
+ jobs :
16
+ build :
17
+ name : ${{ matrix.name }}
18
+ runs-on : ubuntu-18.04
19
+ strategy :
20
+ matrix :
21
+ include :
22
+ - name : linting
23
+ python-version : 3.6
24
+ - name : py36
25
+ python-version : 3.6
26
+ - name : py37
27
+ python-version : 3.7
28
+ - name : py38
29
+ python-version : 3.8
30
+ - name : pypy3
31
+ python-version : pypy3
32
+ steps :
33
+ - uses : actions/checkout@master
34
+ - name : Set up Python
35
+ uses : actions/setup-python@v2
36
+ with :
37
+ python-version : ${{ matrix['python-version'] }}
38
+ - name : Install tox
39
+ run : |
40
+ python -m pip install --upgrade tox
41
+ - name : Test with tox
42
+ run : |
43
+ python -m tox -e ${{ matrix.name }}
You can’t perform that action at this time.
0 commit comments