зеркало из https://github.com/microsoft/topologic.git
Update validate_on_push.yml
This commit is contained in:
Родитель
0b2d391e7b
Коммит
e707c5564e
|
@ -21,18 +21,6 @@ jobs:
|
|||
run: |
|
||||
python -m pip install --upgrade pip setuptools wheel
|
||||
pip install -r requirements.txt
|
||||
- name: Lint with flake8
|
||||
run: |
|
||||
pip install flake8
|
||||
# stop the build if there are Python syntax errors or undefined names
|
||||
flake8 ./topologic ./tests --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
||||
flake8 ./topologic ./tests --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
pytest -v tests topologic --doctest-modules
|
||||
env:
|
||||
SKIP_TEST_35: true
|
||||
- name: Build with setuptools
|
||||
run: |
|
||||
python setup.py build sdist
|
||||
|
|
Загрузка…
Ссылка в новой задаче