Skip to content

Commit 7e61d56

Browse files
authored
Fix the doc_build_test job (huggingface#14774)
* Fake new model * Fix doc-building test job * Is this the problem? * Another try * Typo * Clean up * Can we do without -e ? * Clean setup
1 parent fdf3ce2 commit 7e61d56

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build_doc_test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@ jobs:
2929
3030
- name: Setup environment
3131
run: |
32+
pip install --upgrade pip
3233
sudo apt-get -y update && sudo apt-get install -y libsndfile1-dev
3334
3435
pip install git+https://github.com/huggingface/doc-builder
35-
pip install git+https://github.com/huggingface/transformers#egg=transformers[dev]
36+
pip install .[dev]
3637
3738
export TORCH_VERSION=$(python -c "from torch import version; print(version.__version__.split('+')[0])")
3839
pip install torch-scatter -f https://data.pyg.org/whl/torch-${TORCH_VERSION}+cpu.html

0 commit comments

Comments
 (0)