-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Test on GitHub Actions * Add 2.7 and 3.5 to GHA * Remove Travis CI and AppVeyor * Simplify config Co-authored-by: Anthony Sottile <asottile@umich.edu> * Review updates * Remove redundant line Co-authored-by: Anthony Sottile <asottile@umich.edu>
- Loading branch information
Showing
4 changed files
with
41 additions
and
45 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Test | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "pypy2", "pypy3"] | ||
os: [ubuntu-latest] | ||
# Include py2 + minimum py3 + maximum py3 + pypy + pypy3 on Windows | ||
include: | ||
- { os: "windows-latest" , python-version: "2.7" } | ||
- { os: "windows-latest" , python-version: "3.5" } | ||
- { os: "windows-latest" , python-version: "3.9" } | ||
exclude: | ||
# Currently fails with PyPy 7.3.2, pending 7.3.3+ on GHA: | ||
# https://github.com/actions/setup-python/issues/163 | ||
- { os: "windows-latest" , python-version: "pypy2" } | ||
- { os: "windows-latest" , python-version: "pypy3" } | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install dependencies | ||
run: python -m pip install -U tox | ||
|
||
- name: Tox tests | ||
run: tox -e py |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters