Skip to content

Improved documentation testing #93

Improved documentation testing

Improved documentation testing #93

Workflow file for this run

---
name: Documentation tests
on:
push:
branches: [master]
pull_request:
branches: [master]
permissions:
contents: read
jobs:
docs-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: '3.11'
- name: Install dependencies
run: |
sudo apt-get install python3-opengl xvfb
pip install -e .[all]
pip install -e .[testing]
pip install supersuit shimmy pytest-split
AutoROM -v
- name: Install documentation dependencies
run: pip install -r docs/requirements.txt
- name: Generate environment docs
run: python docs/_scripts/gen_envs_mds.py
- name: Documentation test
run: |
xvfb-run -s "-screen 0 1024x768x24" pytest test/test_codeblocks.py