From 3268c110cd1bc31a844ae6db390e51409cab814e Mon Sep 17 00:00:00 2001 From: Blake Harnden <32446120+bharnden@users.noreply.github.com> Date: Thu, 19 Sep 2019 10:35:35 -0700 Subject: [PATCH] gh action - adding coretk checks --- .github/workflows/coretk-checks.yml | 31 +++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/coretk-checks.yml diff --git a/.github/workflows/coretk-checks.yml b/.github/workflows/coretk-checks.yml new file mode 100644 index 00000000..324babfd --- /dev/null +++ b/.github/workflows/coretk-checks.yml @@ -0,0 +1,31 @@ +name: CORE Tk Checks + +on: [push] + +jobs: + build: + runs-on: ubuntu-18.04 + 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 coretk + pipenv install --dev + - name: isort + run: | + cd coretk + pipenv run isort -c + - name: black + run: | + cd coretk + pipenv run black --check . + - name: flake8 + run: | + cd coretk + pipenv run flake8