Skip to content

[test] Test building comprehensive docs #3

[test] Test building comprehensive docs

[test] Test building comprehensive docs #3

Workflow file for this run

---
name: OpenWISP Docs
on:
push:
branches:
- reorder-docs-ci
- master
pull_request:
branches:
- master
jobs:
build:
name: Python==3.10
runs-on: ubuntu-22.04
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
with:
repository: openwisp/openwisp2-docs
ref: issues/107-comprehensive-docs
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Upgrade python system packages
run: pip install -U pip wheel
- name: Install test dependencies
run: |
pip install -U -r requirements.txt
pip install pylinkvalidator
- name: Install npm dependencies
run: sudo npm install -g stylelint
- name: QA checks
run: PRODUCTION=1 VERSION=dev MODULES="repository_path=${{ github.repository }}:branch=${{ github.ref_name }}" ./run-qa-checks
- name: Build docs in all formats
run: PRODUCTION=1 make build VERSION=dev MODULES="repository_path=${{ github.repository }}:branch=${{ github.ref_name }}"