10000 Initial commit of GA (#1) · staticdev/github4.py@d7d9ace · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on May 22, 2021. It is now read-only.

Commit d7d9ace

Browse files
authored
Initial commit of GA (#1)
* Initial commit of GA This _should_ be feature complete, but definitely initial effort.
1 parent 197173b commit d7d9ace

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 package
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
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: "3.8", TOXENV: "notebooks", ALLOW_FAILURE: true}
20+
- { VERSION: "pypy2", TOXENV: "pypy", ALLOW_FAILURE: false }
21+
- { VERSION: "pypy3", TOXENV: "pypy", ALLOW_FAILURE: false }
22+
23+
steps:
24+
- uses: actions/checkout@v2
25+
- name: Setup Python
26+
uses: actions/setup-python@v2
27+
with:
28+
python-version: ${{ matrix.PYTHON.VERSION }}
29+
- name: Install Tox and any other packages
30+
run: pip install tox
31+
- name: Run Tox
32+
run: tox
33+
env:
34+
TOXENV: ${{ matrix.PYTHON.TOXENV }}
35+
continue-on-error: ${{ matrix.PYTHON.ALLOW_FAILURE }}
36+

0 commit comments

Comments
 (0)
0