Added support for setting run_all_in_same_sim and fail_on_warning attributes from Python #1509
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: 'docs' | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
env: | |
# https://github.com/tox-dev/tox/issues/1468 | |
PY_COLORS: 1 | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Install dependencies | |
run: | | |
pip install -U pip --progress-bar off | |
pip install -U virtualenv tox --progress-bar off | |
- name: Build docs | |
run: tox -e py312-docs -- --color | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: VUnit-site | |
path: .tox/py312-docs/tmp/docsbuild/ | |
- name: '🚀 Publish site' | |
if: github.event_name != 'pull_request' && github.ref_name == 'master' | |
run: >- | |
GH_DEPKEY='${{ secrets.VUNIT_GITHUB_IO_DEPLOY_KEY }}' | |
./.github/publish_site.sh | |
'${{ github.repository }}' |