-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrun_tests_docker.sh
More file actions
executable file
·29 lines (26 loc) · 1.03 KB
/
run_tests_docker.sh
File metadata and controls
executable file
·29 lines (26 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Have to rebuild the docker image with --no-cache, if this file changes.
echo "+================================================"
echo Running run_tests_docker.sh
echo "-================================================"
set -euo pipefail
cat run_tests_docker.sh | sed "s/^/ /"
echo
echo "+================================================"
echo Running GIT PULL
echo "-================================================"
git pull
echo "+================================================"
echo Running MYPY
echo "-================================================"
mypy .
echo "+================================================"
echo Running COVERAGE
echo "-================================================"
coverage run --branch -m pytest
echo "+================================================"
echo Running COVERAGE REPORT
echo "-================================================"
coverage report -m
echo "+================================================"
echo DONE run_tests_docker.sh
echo "-================================================"