Skip to content

Commit

Permalink
🐛✅ Add make into requirements.txt and update path to tests for unit t…
Browse files Browse the repository at this point in the history
…ests
  • Loading branch information
evanroyrees committed Mar 16, 2021
1 parent 81cc406 commit b6a5014
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ unit_test_data_build: tests/data/records.fna

## Run all unit tests
unit_test: tests/data/test_data.json test_environment
$(PYTHON_INTERPRETER) -m pytest --durations=0 --cov=autometa --emoji --cov-report html
$(PYTHON_INTERPRETER) -m pytest --durations=0 --cov=autometa --emoji --cov-report=html tests

## Run unit tests marked with WIP
unit_test_wip: tests/data/test_data.json test_environment
$(PYTHON_INTERPRETER) -m pytest -m "wip" --durations=0 --cov=autometa --emoji --cov-report html
$(PYTHON_INTERPRETER) -m pytest -m "wip" --durations=0 --cov=autometa --emoji --cov-report=html tests

## Run unit tests marked with entrypoint
unit_test_entrypoints: tests/data/test_data.json test_environment
$(PYTHON_INTERPRETER) -m pytest -m "entrypoint" --durations=0 --cov=autometa --emoji --cov-report html
$(PYTHON_INTERPRETER) -m pytest -m "entrypoint" --durations=0 --cov=autometa --emoji --cov-report=html tests


#################################################################################
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ bedtools
bowtie2
hmmer
prodigal
make
nextflow
parallel
requests
Expand Down

0 comments on commit b6a5014

Please sign in to comment.