div#searchbox
-> #searchbox
(#78)
#40
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 Suite | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
jobs: | |
test_sphinx: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.9", "3.10", "3.11", "3.12"] | |
sphinx-version: ["7.3.7", "6.2.1", "5.3.0"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Sphinx ${{ matrix.sphinx-version }} | |
run: | | |
python -m pip install --upgrade pip | |
pip install Sphinx==${{ matrix.sphinx-version }} | |
- name: Install breathe | |
run: pip install breathe==4.35.0 | |
- name: Install wheel | |
run: pip install wheel | |
- name: Install setuptools | |
run: pip install setuptools | |
- name: Install piccolo_theme | |
run: python setup.py install | |
- name: Build docs | |
run: make html | |
working-directory: ./docs | |
- name: "Setup Node" | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Install Playwright | |
run: pip install -r requirements/e2e-requirements.txt | |
- name: Ensure Chromium is installed | |
run: python -m playwright install chromium --with-deps | |
- name: Start Playwright tests | |
run: ./scripts/run-e2e-tests.sh | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: playwright-artifacts | |
path: videos/ | |
if: always() |