Skip to content

Commit

Permalink
Merge pull request #315 from prabhatnagarajan/testinst
Browse files Browse the repository at this point in the history
adds some instructions regarding testing for potential contributors
  • Loading branch information
muupan authored Oct 1, 2018
2 parents 24b1b1c + cad5886 commit 67d7a5f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ If you could kindly send a PR to ChainerRL, please make sure all the tests succe

## Testing

To test chainerrl modules, install and run `pytest`. Pass `-m "not gpu"` to skip tests that require gpu.
To test chainerrl modules, install and run `pytest`. Pass `-m "not gpu"` to skip tests that require gpu. E.g.
```
$ pip install pytest
$ pytest -m "not gpu"
```


To test examples, run `test_examples.sh [gpu device id]`. `-1` would run examples with only cpu.

Expand Down

0 comments on commit 67d7a5f

Please sign in to comment.