Skip to content

Commit

Permalink
Use mocked MNIST for pl_examples
Browse files Browse the repository at this point in the history
  • Loading branch information
carmocca committed Aug 23, 2021
1 parent 56cbb27 commit 295955f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ This is useful if you do not test against all required dependency versions.
**Docker:** Another option is to utilize the [pytorch lightning cuda base docker image](https://hub.docker.com/repository/docker/pytorchlightning/pytorch_lightning/tags?page=1&name=cuda). You can then run:

```bash
python -m pytest pytorch_lightning tests pl_examples -v
PL_USE_MOCKED_MNIST=1 python -m pytest pytorch_lightning tests pl_examples -v
```

You can also run a single test as follows:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci_test-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ jobs:
- name: Examples
run: |
python -m pytest pl_examples -v --durations=10
env:
PL_USE_MOCKED_MNIST: "1"

- name: Upload pytest results
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 295955f

Please sign in to comment.