Merge pull request #254 from Exabyte-io/docs/SOF-2707 #49
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: Build documentation | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, ubuntu-22.04] | |
python-version: ["3.7", "3.8", "3.9"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: setup python 3 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: setup project dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y --no-install-recommends curl git git-lfs | |
git lfs pull | |
git submodule update --recursive --init | |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | |
- name: build documentation | |
run: mkdocs build |