From 9fc77511f29ad4a7b287fac9f2e970f781c2a91f Mon Sep 17 00:00:00 2001 From: Blake Harnden Date: Wed, 18 Sep 2019 12:34:44 -0700 Subject: [PATCH] adding gh action workflow --- .github/workflows/daemon-checks.yml | 31 +++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/daemon-checks.yml diff --git a/.github/workflows/daemon-checks.yml b/.github/workflows/daemon-checks.yml new file mode 100644 index 00000000..9202e30a --- /dev/null +++ b/.github/workflows/daemon-checks.yml @@ -0,0 +1,31 @@ +name: Daemon Checks + +on: [push] + +jobs: + build: + runs-on: ubuntu-1804 + steps: + - uses: actions/checkout@v1 + - name: Set up Python 3.7 + uses: actions/setup-python@v1 + with: + python-version: 3.7 + - name: Install pipenv + run: | + python -m pip install --upgrade pip + pip install pipenv + cd daemon + pipenv install --dev + - name: isort + run: | + cd daemon + pipenv run isort + - name: black + run: | + cd daemon + pipenv run black --exclude ".+_pb2.*.py|doc|build|utm\.py" . + - name: flake8 + run: | + cd daemon + pipenv run flake8