]>
Commit | Line | Data |
---|---|---|
1 | install: | |
2 | pip install --user -r requirements.txt | |
3 | ||
4 | test: | |
5 | python test.py | |
6 | ||
7 | run: | |
8 | python portfolio.py | |
9 | ||
10 | test_coverage_unit: | |
11 | coverage run --source=. --omit=test.py test.py --onlyunit | |
12 | coverage report -m | |
13 | ||
14 | test_coverage_unit_html: test_coverage_unit | |
15 | coverage html | |
16 | rm ~/hosts/www.immae.eu/htmlcov -rf && cp -r htmlcov ~/hosts/www.immae.eu | |
17 | @echo "coverage in https://www.immae.eu/htmlcov" | |
18 | ||
19 | test_coverage_acceptance: | |
20 | coverage run --source=. --omit=test.py test.py --onlyacceptance | |
21 | coverage report -m | |
22 | ||
23 | test_coverage_acceptance_html: test_coverage_acceptance | |
24 | coverage html | |
25 | rm ~/hosts/www.immae.eu/htmlcov -rf && cp -r htmlcov ~/hosts/www.immae.eu | |
26 | @echo "coverage in https://www.immae.eu/htmlcov" | |
27 | ||
28 | test_coverage_all: | |
29 | coverage run --source=. --omit=test.py test.py | |
30 | coverage report -m | |
31 | ||
32 | test_coverage_all_html: test_coverage_all | |
33 | coverage html | |
34 | rm ~/hosts/www.immae.eu/htmlcov -rf && cp -r htmlcov ~/hosts/www.immae.eu | |
35 | @echo "coverage in https://www.immae.eu/htmlcov" |