-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [make] Create Makefile * exclude makefile * contributing info * rm .run_local_test.sh
- Loading branch information
Jeff Yang
authored
Nov 12, 2020
1 parent
396a18e
commit 79fc926
Showing
4 changed files
with
20 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.PHONY: test | ||
|
||
test: | ||
# install APEX, see https://github.com/NVIDIA/apex#linux | ||
# to imitate SLURM set only single node | ||
export SLURM_LOCALID=0 | ||
|
||
# use this to run tests | ||
rm -rf _ckpt_* | ||
rm -rf ./lightning_logs | ||
python -m coverage run --source pytorch_lightning -m pytest pytorch_lightning tests pl_examples -v --flake8 | ||
python -m coverage report -m | ||
|
||
# specific file | ||
# python -m coverage run --source pytorch_lightning -m py.test --flake8 --durations=0 -v -k |