Doc - tokenizers must be installed in the CI

This commit is contained in:
Anthony MOI
2020-10-06 14:37:07 -04:00
committed by Anthony MOI
parent 3ee54766e3
commit b426549ce0
2 changed files with 21 additions and 3 deletions

View File

@ -19,7 +19,16 @@ jobs:
python-version: 3.6
- name: Install dependencies
run: pip install sphinx sphinx_rtd_theme
run: pip install sphinx sphinx_rtd_theme setuptools-rust
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Build tokenizers
working-directory: ./bindings/python
run: python setup.py install
- name: Build documentation
working-directory: ./docs

View File

@ -26,8 +26,17 @@ jobs:
with:
python-version: 3.6
- name: Install dependencies
run: pip install sphinx sphinx_rtd_theme
- name: Install Python dependencies
run: pip install sphinx sphinx_rtd_theme setuptools-rust
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Build tokenizers
working-directory: ./bindings/python
run: python setup.py install
- name: Deploy documentation
env: