Add run_coverage.sh
This commit is contained in:
11
run_coverage.sh
Executable file
11
run_coverage.sh
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Exit on any error
|
||||||
|
set -e
|
||||||
|
|
||||||
|
echo "Activating virtual environment..."
|
||||||
|
source ./venv/bin/activate
|
||||||
|
|
||||||
|
pytest --cov=laborious --cov-report=html
|
||||||
|
|
||||||
|
xdg-open htmlcov/index.html
|
||||||
Reference in New Issue
Block a user