Add a job to test the documentation build (#14645)
* Add a job to the documentation build * Add caching * Test cache
This commit is contained in:
10
.github/workflows/build_documentation.yml
vendored
10
.github/workflows/build_documentation.yml
vendored
@@ -21,6 +21,16 @@ jobs:
|
||||
- name: Clone transformers
|
||||
run: |
|
||||
git clone https://github.com/huggingface/transformers
|
||||
|
||||
- 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: |
|
||||
|
||||
Reference in New Issue
Block a user