[auto] update changelog #1603
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sphinx Build in CI | |
on: | |
pull_request: | |
branches: | |
- "main" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Set up python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: Clone substra-tools | |
uses: actions/checkout@v2 | |
with: | |
repository: substra/substra-tools | |
path: substra-tools | |
ref: main | |
- name: Clone substra | |
uses: actions/checkout@v2 | |
with: | |
repository: substra/substra | |
path: substra | |
ref: main | |
- name: Clone substrafl | |
uses: actions/checkout@v2 | |
with: | |
repository: substra/substrafl | |
path: substrafl | |
ref: main | |
- name: Install substra, substra-tools and substrafl | |
run: | | |
pip install -e ./substrafl | |
pip install -e ./substra | |
pip install -e ./substra-tools | |
- name: Copy substra and substrafl api doc in the doc | |
run: | | |
cp -r substra/references docs/source/documentation/references | |
cp -r substrafl/docs/api docs/source/substrafl_doc/ | |
- name: Install Pandoc | |
run: | | |
sudo wget https://github.com/jgm/pandoc/releases/download/3.1.11.1/pandoc-3.1.11.1-1-amd64.deb | |
sudo dpkg -i pandoc-3.1.11.1-1-amd64.deb | |
- name: Install requirements | |
run: | | |
pip install -r requirements.txt | |
- name: Sphinx make | |
working-directory: ./docs | |
run: make clean html |