forked from idrl/idrlnet
ci: update pypi installation check
This commit is contained in:
parent
d6bb4b3a68
commit
5f9b1b184d
|
@ -6,7 +6,6 @@ on:
|
|||
release:
|
||||
types: [published, edited]
|
||||
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
|
@ -35,4 +34,7 @@ jobs:
|
|||
python setup.py sdist bdist_wheel
|
||||
twine upload --repository-url dist/*
|
||||
|
||||
|
||||
- name: Install from PyPI
|
||||
run: |
|
||||
pip install -U idrlnet
|
||||
pip show idrlnet
|
||||
|
|
|
@ -31,7 +31,7 @@ jobs:
|
|||
run: |
|
||||
# stop the build if there are Python syntax errors or undefined names
|
||||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||
# exit-zero treats all errors as warnings. Theg GitHub editor is 127 chars wide
|
||||
# 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
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue