Skip to content

Commit

Permalink
Add GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Stranger6667 committed Sep 12, 2019
1 parent 5655d9f commit 5d3e887
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Push

on: [push]

jobs:
black:
name: black
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v1
with:
python-version: '3.7'
- run: pip install black
- run: black --check --diff -l 120 .

pylint:
name: pylint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v1
with:
python-version: '3.7'
- run: pip install poetry
- run: poetry add pylint
- run: poetry install
- run: poetry run pylint src/schemathesis

mypy:
name: mypy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@v1
with:
python-version: '3.7'
- run: pip install mypy
- run: mypy src/schemathesis

0 comments on commit 5d3e887

Please sign in to comment.