Skip to content

Commit

Permalink
Added format check gh action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
retr0h committed Mar 16, 2020
1 parent e40ed24 commit 0c1e748
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/format-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Format Check
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.7]

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: |
pip install tox
- name: Execute Format Check
run: |
tox -e format-check

0 comments on commit 0c1e748

Please sign in to comment.