-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·36 lines (28 loc) · 790 Bytes
/
Makefile
File metadata and controls
executable file
·36 lines (28 loc) · 790 Bytes
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
35
36
init:
# Global install with caching
sudo -H pip3 install -r requirements.txt
sudo -H pip3 install -e gym-watershed
updateEnv:
# Global install with caching
pip3.7 install --editable gym-watershed
test:
# -x --pdb: drop to PDB on first failure, then end test session
# -q: less verbose output
python3 -m pytest -q -x --pdb
testVerbose:
# -x --pdb: drop to PDB on first failure, then end test session
python3 -m pytest -x --pdb
testNoDebug:
# -q: less verbose output
python3 -m pytest -q
testNoDebugVerbose:
# -q: less verbose output
python3 -m pytest
push:
git push origin master
git push gitlab master
git push github master
docs:
pdoc3 --html src --output-dir docs --force
pdoc3 --html gym_watershed --output-dir gym-watershed/docs --force
.PHONY: init test docs