Ensure bash scripts exit on fail and explain what they're doing
This commit is contained in:
parent
129721eb50
commit
a480549ad3
2 changed files with 5 additions and 0 deletions
|
@ -1,2 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
set -x
|
||||
set -e
|
||||
|
||||
pytest --cov=. --cov-report=html
|
|
@ -1,4 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
set -x
|
||||
set -e
|
||||
|
||||
# Check formatting and linting
|
||||
flake8 --max-line-length 120 $(git ls-files '*.py')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue