-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Multi Platform CI Pipeline with GitHub Actions (#651)
* add the .yml config * fix posix vs. windows path issues * fix integration tests (xfail on win32) * sign AUTHORS * add codecov to config * exclusive use of pathlib * use pathlib standard library * print coverage report instead of upload timeouts * Update .github/workflows/main.yml Co-authored-by: Brian Rutledge <[email protected]> * Update .github/workflows/main.yml Co-authored-by: Dustin Ingram <[email protected]> Co-authored-by: Brian Rutledge <[email protected]> Co-authored-by: Dustin Ingram <[email protected]>
- Loading branch information
1 parent
424a584
commit f922eeb
Showing
4 changed files
with
56 additions
and
5 deletions.
There are no files selected for viewing
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,35 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.8 | ||
- name: Install tox | ||
run: python -m pip install tox | ||
- name: Run linting | ||
run: python -m tox -e lint | ||
|
||
test: | ||
strategy: | ||
matrix: | ||
python: [3.6, 3.7, 3.8] | ||
platform: [ubuntu-latest, macos-latest, windows-latest] | ||
runs-on: ${{ matrix.platform }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
- name: "Install dependencies" | ||
run: | | ||
python -m pip install --upgrade pip setuptools wheel tox | ||
- name: Run tests | ||
run: python -m tox -e py # Run tox using the version of Python in `PATH` |
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 |
---|---|---|
|
@@ -26,4 +26,5 @@ Wasim Thabraze <[email protected]> | |
Varun Kamath <[email protected]> | ||
Brian Rutledge <[email protected]> | ||
Peter Stensmyr <[email protected]> (http://www.peterstensmyr.com) | ||
Felipe Mulinari Rocha Campos <[email protected]> | ||
Devesh Kumar Singh <[email protected]> |
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
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