Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add test directions #547

Merged
merged 3 commits into from
Dec 20, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions tests/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Running Tests

To run the test suite, please perform the following from the root directory of this repository:

1. `pip install -e .[testing]`

This will install all the testing requirements.
2. `sudo apt-get update; sudo apt-get install git-lfs -y`

We need git-lfs on our system to run some of the tests

3. `HUGGINGFACE_CO_STAGING=1 pytest -sv ./tests/`

We need to set an environmental variable to make sure the private API tests can run.