8000 Merge pull request #998 from esacteksab/master · admdev8/github3.py@aa977aa · GitHub
[go: up one dir, main page]

Skip to content

Commit aa977aa

Browse files
authored
Merge pull request sigmavirus24#998 from esacteksab/master
Initial commit of GA
2 parents 197173b + 5da218a commit aa977aa

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/build.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Python tests
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
python:
12+
- { VERSION: "2.7", TOXENV: "py27", ALLOW_FAILURE: false }
13+
- { VERSION: "2.7", TOXENV: "py27-flake8", ALLOW_FAILURE: false}
14+
- { VERSION: "3.5", TOXENV: "py35", ALLOW_FAILURE: false }
15+
- { VERSION: "3.6", TOXENV: "py36", ALLOW_FAILURE: false }
16+
- { VERSION: "3.7", TOXENV: "py37", ALLOW_FAILURE: false }
17+
- { VERSION: "3.8", TOXENV: "py38-flake8,readme,doclint,docs,commitlint",ALLOW_FAILURE: false }
18+
- { VERSION: "3.8", TOXENV: "docstrings", ALLOW_FAILURE: true}
19+
- { VERSION: "pypy2", TOXENV: "pypy", ALLOW_FAILURE: false }
20+
- { VERSION: "pypy3", TOXENV: "pypy", ALLOW_FAILURE: false }
21+
22+
steps:
23+
- uses: actions/checkout@v2
24+
- name: Setup Python
25+
uses: actions/setup-python@v2
26+
with:
27+
python-version: ${{ matrix.PYTHON.VERSION }}
28+
- name: Install Tox and any other packages
29+
run: pip install tox
30+
- name: Run Tox
31+
run: tox
32+
env:
33+
TOXENV: ${{ matrix.PYTHON.TOXENV }}
34+
GH_RECORD_MODE: "none"
35+
continue-on-error: ${{ matrix.PYTHON.ALLOW_FAILURE }}
36+

0 commit comments

Comments
 (0)
0