Skip to content

Commit 43ff775

Browse files
committed
Move to GitHub Actions Only
- Unittests + black check now run by GitHub Actions - TravisCI is very slow these days
1 parent 77288b3 commit 43ff775

File tree

2 files changed

+37
-24
lines changed

2 files changed

+37
-24
lines changed

.github/workflows/ci.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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 .

.travis.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)