comparison clipkit_repo/Makefile @ 0:49b058e85902 draft

"planemo upload for repository https://github.com/jlsteenwyk/clipkit commit cbe1e8577ecb1a46709034a40dff36052e876e7a-dirty"
author padge
date Fri, 25 Mar 2022 13:04:31 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:49b058e85902
1 profile:
2 python3 -m cProfile -s 'time' clipkit-runner.py tests/integration/samples/EOG092C0CZK_aa_aln.fasta -o output/test > output/large_profile.txt
3
4 run:
5 python3 -m clipkit-runner tests/integration/samples/12_YIL115C_Anc_2.253_aa_aln.fasta -o output/test --log
6
7 run.simple:
8 python3 -m clipkit-runner tests/integration/samples/simple.fa -o output/simple --log
9
10 install:
11 # install so clipkit command is available in terminal
12 python setup.py install
13
14 develop:
15 # https://setuptools.readthedocs.io/en/latest/setuptools.html#development-mode
16 python setup.py develop
17
18 test: test.unit test.integration
19
20 test.unit:
21 python -m pytest -m "not integration"
22
23 test.integration:
24 rm -rf output/
25 mkdir output/
26 python -m pytest --basetemp=output -m "integration"
27
28 test.fast:
29 python -m pytest -m "not (integration or slow)"
30 rm -rf output/
31 mkdir output/
32 python -m pytest --basetemp=output -m "integration and not slow"
33
34 # used by GitHub actions during CI workflow
35 test.coverage: coverage.unit coverage.integration
36
37 coverage.unit:
38 python -m pytest --cov=./ -m "not integration" --cov-report=xml:unit.coverage.xml
39
40 coverage.integration:
41 rm -rf output/
42 mkdir output/
43 python -m pytest --basetemp=output --cov=./ -m "integration" --cov-report=xml:integration.coverage.xml