Skip to content

Commit

Permalink
Have make test clean up after itself
Browse files Browse the repository at this point in the history
  • Loading branch information
rafelafrance committed Apr 10, 2024
1 parent fcc9cbd commit a935f22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ PIP_INSTALL=$(PYTHON) -m pip install
SPACY_MODEL=$(PYTHON) -m spacy download en_core_web_md

test:
export MOCK_DATA=1; $(PYTHON) -m unittest discover
export MOCK_DATA=1
$(PYTHON) -m unittest discover
export MOCK_DATA=0

install: venv
source $(VENV)/bin/activate
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,5 @@ Download the first 3 sources and then use the `util_add_taxa.py` script to extra
## Tests
There are tests which you can run like so:
```bash
export MOCK_DATA=1; python -m unittest discover
make test
```

Please `export MOCK_DATA=0` before you run any scripts on real data.

0 comments on commit a935f22

Please sign in to comment.