Skip to content

Commit

Permalink
run pytest locally in CONTRIBUTING
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienWehrle committed Dec 17, 2024
1 parent 15d3c93 commit 0c45528
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,16 @@ pip install -e .
If your PR targets the implementation of a new feature or the
improvement of existing ones, please add at least one test per feature
(in the associated
[`tests/test_earthspy.py`](https://github.com/AdrienWehrle/earthspy/blob/main/LICENSE)
[`tests/test_earthspy.py`](https://github.com/AdrienWehrle/earthspy/blob/main/tests/test_earthspy.py)
file) and include them in your PR, using `pytest` (see existing tests
for examples).

To run the entire test suite, run pytest in the current directory:
To run the entire test suite locally, run pytest in the current
directory by passing the full path to your Sentinel Hub credential
file:

```bash
pytest
pytest --authfile=/path/to/auth.txt
```


Expand Down

0 comments on commit 0c45528

Please sign in to comment.