| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,32 @@ | |||
| 1 | + name: CI | ||
| 2 | + | ||
| 3 | + on: | ||
| 4 | + push: | ||
| 5 | + branches: [ master ] | ||
| 6 | + pull_request: | ||
| 7 | + branches: [ master ] | ||
| 8 | + | ||
| 9 | + jobs: | ||
| 10 | + build: | ||
| 11 | + | ||
| 12 | + runs-on: ubuntu-latest | ||
| 13 | + strategy: | ||
| 14 | + matrix: | ||
| 15 | + python-version: | ||
| 16 | + - name: 3.7 | ||
| 17 | + toxenv: py37 | ||
| 18 | + - name: 3.8 | ||
| 19 | + toxenv: py38 | ||
| 20 | + - name: 3.9 | ||
| 21 | + toxenv: py39 | ||
| 22 | + | ||
| 23 | + steps: | ||
| 24 | + - uses: actions/checkout@v2 | ||
| 25 | + - name: Set up Python ${{ matrix.python-version.name }} | ||
| 26 | + uses: actions/setup-python@v2 | ||
| 27 | + with: | ||
| 28 | + python-version: ${{ matrix.python-version.name }} | ||
| 29 | + - name: Install tox | ||
| 30 | + run: python -m pip install tox | ||
| 31 | + - name: Run tox | ||
| 32 | + run: python -m tox -e "${{ matrix.python-version.toxenv }}" | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,6 @@ | |||
| 1 | 1 | [tox] | |
| 2 | 2 | envlist = py{35,36,37,38,39,py3} | |
| 3 | + skip_missing_interpreters = true | ||
| 3 | 4 | ||
| 4 | 5 | [testenv] | |
| 5 | 6 | deps = | |
| Back | FazBrowse Home | New Git URL |
0 commit comments