Skip to content

Commit

Permalink
added init to test folder
Browse files Browse the repository at this point in the history
  • Loading branch information
williamFalcon committed Jul 25, 2019
1 parent 9856520 commit 735df77
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ pip install -r requirements.txt

# run tests
py.test

# or to generate coverage
pip install coverage
coverage run tests/test_models.py
```

To test models that require GPU make sure to run the above command on a GPU machine.
Expand All @@ -46,4 +42,17 @@ For each set up it also tests:
4. simulated save from HPC signal.
5. simulated load from HPC signal.

## Running Coverage

```bash
cd pytorch-lightning

# generate coverage
pip install coverage
coverage run tests/test_models.py

# print coverage stats
coverage report -m
```


0 comments on commit 735df77

Please sign in to comment.