Browse Source

Create test.yml

pull/3/head
Brett Langdon 6 years ago
committed by GitHub
parent
commit
4a1dc227e4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions
  1. +26
    -0
      .github/workflows/test.yml

+ 26
- 0
.github/workflows/test.yml View File

@ -0,0 +1,26 @@
name: Test package
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python setup.py build_ext --force
python setup.py develop
- name: Lint with black
run: |
pip install black==19.10b0
black --check **/*.py

Loading…
Cancel
Save