Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
bc3379e1
Unverified
Commit
bc3379e1
authored
Feb 16, 2022
by
Eliott C
Committed by
GitHub
Feb 16, 2022
Browse files
🔥
Remove build_doc_test github action (#15680)
parent
d4692ad1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
50 deletions
+0
-50
.github/workflows/build_doc_test.yml
.github/workflows/build_doc_test.yml
+0
-50
No files found.
.github/workflows/build_doc_test.yml
deleted
100644 → 0
View file @
d4692ad1
name
:
Documentation test build
on
:
pull_request
:
paths
:
-
"
src/**"
-
"
docs/**"
-
"
.github/**"
jobs
:
build_and_package
:
runs-on
:
ubuntu-latest
defaults
:
run
:
shell
:
bash -l {0}
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Loading cache.
uses
:
actions/cache@v2
id
:
cache
with
:
path
:
~/.cache/pip
key
:
v1-test_build_doc
restore-keys
:
|
v1-test_build_doc-${{ hashFiles('setup.py') }}
v1-test_build_doc
-
name
:
Setup environment
run
:
|
pip install --upgrade pip
sudo apt-get -y update && sudo apt-get install -y libsndfile1-dev
pip install git+https://github.com/huggingface/doc-builder
pip install .[dev]
export TORCH_VERSION=$(python -c "from torch import version; print(version.__version__.split('+')[0])")
pip install torch-scatter -f https://data.pyg.org/whl/torch-${TORCH_VERSION}+cpu.html
pip install torchvision
python -m pip install 'git+https://github.com/facebookresearch/detectron2.git'
sudo apt install tesseract-ocr
pip install pytesseract
pip install pytorch-quantization --extra-index-url https://pypi.ngc.nvidia.com
-
name
:
Make documentation
run
:
|
doc-builder build transformers ./docs/source
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment