Run all commands in one step

This commit is contained in:
Andreas Zweili 2022-11-21 23:35:51 +01:00
parent bf2a167089
commit 444c39ec91
1 changed files with 0 additions and 4 deletions

View File

@ -17,12 +17,8 @@ jobs:
- name: Enable Nix shell
run: |
nix develop
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --statistics
- name: Test with pytest
run: |
pytest --ds=network_inventory.settings.ram_test -nauto --nomigrations --cov=.