File tree Expand file tree Collapse file tree 2 files changed +37
-24
lines changed
Expand file tree Collapse file tree 2 files changed +37
-24
lines changed Original file line number Diff line number Diff line change 1+ name : ci
2+
3+ on : [push, pull_request]
4+
5+ jobs :
6+ build :
7+ name : Running python ${{ matrix.python-version }} on ${{matrix.os}}
8+ runs-on : ${{ matrix.os }}
9+ strategy :
10+ matrix :
11+ python-version : [3.6, 3.7, 3.8, 3.9]
12+ os : [ubuntu-latest]
13+
14+ steps :
15+ - uses : actions/checkout@v2
16+
17+ - name : Set up Python ${{ matrix.python-version }}
18+ uses : actions/setup-python@v2
19+ with :
20+ python-version : ${{ matrix.python-version }}
21+
22+ - name : Update pip, setuptools + wheel
23+ run : |
24+ python -m pip install --upgrade pip setuptools wheel
25+
26+ - name : Install flake8-bugbear w/dev extra install
27+ run : |
28+ python -m pip install .[dev]
29+
30+ - name : Run Unittests
31+ run : |
32+ coverage run tests/test_bugbear.py
33+ coverage report -m
34+
35+ - name : Check formatting
36+ run : |
37+ black --check .
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments