-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Unittests + black check now run by GitHub Actions - TravisCI is very slow these days
- Loading branch information
1 parent
77288b3
commit 43ff775
Showing
2 changed files
with
37 additions
and
24 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,37 @@ | ||
name: ci | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
name: Running python ${{ matrix.python-version }} on ${{matrix.os}} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
python-version: [3.6, 3.7, 3.8, 3.9] | ||
os: [ubuntu-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Update pip, setuptools + wheel | ||
run: | | ||
python -m pip install --upgrade pip setuptools wheel | ||
- name: Install flake8-bugbear w/dev extra install | ||
run: | | ||
python -m pip install .[dev] | ||
- name: Run Unittests | ||
run: | | ||
coverage run tests/test_bugbear.py | ||
coverage report -m | ||
- name: Check formatting | ||
run: | | ||
black --check . |
This file was deleted.
Oops, something went wrong.