-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfull-check.sh
More file actions
executable file
·34 lines (26 loc) · 1.02 KB
/
full-check.sh
File metadata and controls
executable file
·34 lines (26 loc) · 1.02 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
30
31
32
33
34
#!/bin/bash -e
printf "=============== VIRTUAL ENVIRONMENT PACKAGES CHECKS ================\n"
./check-environment-packages.sh
printf "\n"
printf "=================== DJANGO CONFIGURATION CHECKS ====================\n"
python manage.py check
printf "\n"
printf "=============== MIGRATION FILES CHECK FOR sheetstorm ===============\n"
python manage.py makemigrations --check --dry-run
printf "\n"
printf "=========================== CODING STYLE ===========================\n"
./style.sh
printf "\n"
printf "=============================== LINT ===============================\n"
./lint.sh
printf "\n"
printf "========================= MYPY STATIC TYPE CHECKER =================\n"
mypy --config-file=mypy.ini .
printf "\n"
printf "========================= UNIT TESTS WITH COVERAGE =================\n"
# NOTE: 'manage.py test' does not find all tests unless we run it from within the app directory.
./run-test-coverage.sh
printf "\n"
printf "================= E2E SELENIUM TESTS WITH COVERAGE =================\n"
./e2e.sh
printf "\n"