Skip to content

Commit

Permalink
Move to GitHub Actions Only
Browse files Browse the repository at this point in the history
- Unittests + black check now run by GitHub Actions
- TravisCI is very slow these days
  • Loading branch information
cooperlees committed Nov 23, 2020
1 parent 77288b3 commit 43ff775
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 24 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
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 .
24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

0 comments on commit 43ff775

Please sign in to comment.