Skip to content

Commit 70ee321

Browse files
pcuencaJimmy
authored and
Jimmy
committed
Explain how to install test dependencies (huggingface#2983)
As pointed out by @Birch-san: huggingface#2634 (comment)
1 parent 599417d commit 70ee321

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Diff for: CONTRIBUTING.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,15 @@ passes. You should run the tests impacted by your changes like this:
394394
```bash
395395
$ pytest tests/<TEST_TO_RUN>.py
396396
```
397+
398+
Before you run the tests, please make sure you install the dependencies required for testing. You can do so
399+
with this command:
397400

398-
You can also run the full suite with the following command, but it takes
401+
```bash
402+
$ pip install -e ".[test]"
403+
```
404+
405+
You can run the full test suite with the following command, but it takes
399406
a beefy machine to produce a result in a decent amount of time now that
400407
Diffusers has grown a lot. Here is the command for it:
401408

0 commit comments

Comments
 (0)