chore: rename package rai_open_set_vision to rai_perception #482
This file contains hidden or 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: build mkdocs | |
| on: | |
| pull_request: | |
| branches: | |
| - development | |
| - main | |
| jobs: | |
| build-mkdocs: | |
| if: github.event.pull_request.draft == false | |
| runs-on: | |
| - ubuntu-24.04 | |
| container: | |
| image: python:3.12-slim | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| clean: true | |
| - name: Cache Poetry and pip | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cache/pypoetry | |
| ~/.cache/pip | |
| key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }} | |
| restore-keys: | | |
| ${{ runner.os }}-poetry- | |
| - name: Install Poetry | |
| uses: snok/install-poetry@v1 | |
| with: | |
| version: 2.1.1 | |
| - name: Install python dependencies | |
| run: poetry install --with docs | |
| - name: Install rai packages | |
| run: poetry run pip install src/rai_core src/rai_sim src/rai_bench src/rai_s2s --no-deps | |
| - name: Build docs | |
| shell: bash | |
| run: | | |
| poetry run mkdocs build --strict |