From 0c1e748746b6a7303a48271fca6af1fd2d71b227 Mon Sep 17 00:00:00 2001 From: John Dewey Date: Sun, 15 Mar 2020 20:14:16 -0700 Subject: [PATCH] Added format check gh action workflow --- .github/workflows/format-check.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/format-check.yml diff --git a/.github/workflows/format-check.yml b/.github/workflows/format-check.yml new file mode 100644 index 0000000..91a80a0 --- /dev/null +++ b/.github/workflows/format-check.yml @@ -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