gh action - adding coretk checks
This commit is contained in:
parent
597342248b
commit
3268c110cd
1 changed files with 31 additions and 0 deletions
31
.github/workflows/coretk-checks.yml
vendored
Normal file
31
.github/workflows/coretk-checks.yml
vendored
Normal file
|
@ -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
|
Loading…
Reference in a new issue