mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-22 16:25:30 +00:00
Doc - tokenizers must be installed in the CI
This commit is contained in:
11
.github/workflows/docs-check.yml
vendored
11
.github/workflows/docs-check.yml
vendored
@ -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
|
||||
|
13
.github/workflows/docs-deploy.yml
vendored
13
.github/workflows/docs-deploy.yml
vendored
@ -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:
|
||||
|
Reference in New Issue
Block a user