Unverified Commit 8c5c30f3 authored by Pedro Cuenca's avatar Pedro Cuenca Committed by GitHub
Browse files

Explain how to install test dependencies (#2983)

As pointed out by @Birch-san: https://github.com/huggingface/diffusers/pull/2634#issuecomment-1496517210
parent 2de36fae
...@@ -394,8 +394,15 @@ passes. You should run the tests impacted by your changes like this: ...@@ -394,8 +394,15 @@ passes. You should run the tests impacted by your changes like this:
```bash ```bash
$ pytest tests/<TEST_TO_RUN>.py $ pytest tests/<TEST_TO_RUN>.py
``` ```
Before you run the tests, please make sure you install the dependencies required for testing. You can do so
with this command:
You can also run the full suite with the following command, but it takes ```bash
$ pip install -e ".[test]"
```
You can run the full test suite with the following command, but it takes
a beefy machine to produce a result in a decent amount of time now that a beefy machine to produce a result in a decent amount of time now that
Diffusers has grown a lot. Here is the command for it: Diffusers has grown a lot. Here is the command for it:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment