Browse Source

add black and poetry verification GitHub actions

pull/3/head
Brett Langdon 5 years ago
parent
commit
003d0916ba
Signed by: brettlangdon GPG Key ID: A70042D88B95AA2B
1 changed files with 20 additions and 0 deletions
  1. +20
    -0
      .github/workflows/test.yml

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

@ -0,0 +1,20 @@
jobs:
black:
steps:
- uses: actions/checkout@v2
- name: Black Check
uses: jpetrucciani/black-check@20.8b1
poetry:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9"]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- uses: Gr1N/setup-poetry@v4
- run: poetry check
- run: poetry build

Loading…
Cancel
Save