First attempt to add ergocub sw documentation #504
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: Test PR | |
on: | |
pull_request: | |
jobs: | |
docs: | |
name: "Test" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- name: Dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y python3-wheel python3-setuptools | |
pip install --upgrade Jinja2 | |
pip install --user mkdocs | |
pip install --user $(mkdocs get-deps) | |
pip install --upgrade pygments | |
echo "${HOME}/.local/bin" >> ${GITHUB_PATH} | |
- name: Build Mkdocs | |
run: | | |
mkdocs build --strict > log 2>&1 | |
- name: Print Log | |
if: always() | |
run: | | |
cat log |