Commit 3454da3f authored by Sreenath Sasidharan Nair's avatar Sreenath Sasidharan Nair
Browse files

fixed issue with workflows

parent 11eb48a2
......@@ -20,6 +20,8 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
make dev_deps
- name: Lint with flake8
run: |
make analyze
......
......@@ -15,14 +15,12 @@ clean-dist:
clean: clean-pyc clean-pytest clean-dist
analyze:
pip install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 --count --select=E9,F63,F7,F82 --show-source --statistics ./beacons_bio_3d
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude=migrations ./beacons_bio_3d
test:
pip install pytest-cov pytest-xdist
pytest --cov-config=.coveragerc --cov-report=html --cov=beacons_bio_3d .
dist: clean
......@@ -33,4 +31,7 @@ version: dist
python3 setup.py --version
license: dist
python3 setup.py --license
\ No newline at end of file
python3 setup.py --license
dev_deps:
pip install six jsonschema pytest-cov pytest-xdist flake8
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment