Gitflow - Autodoc (#3922)

This commit is contained in:
Luqman
2023-01-11 16:49:20 +01:00
committed by GitHub
parent c6b2ec5857
commit 547b0742c2
6 changed files with 15 additions and 13 deletions

View File

@@ -1,13 +1,16 @@
name: Deploy to GitHub Pages
on:
push:
pull_request:
branches:
- main
types: [closed]
jobs:
generate:
name: Generate and Deploy documentation
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Git checkout

View File

@@ -10,8 +10,8 @@ env:
on:
push:
branches:
- "feature/*"
- "hotfix/*"
- 'feature/*'
- 'hotfix/*'
- 'release/[0-9]+\.[0-9]+\.[0-9]+(rc[0-9]+)?'
# Cancel previous runs that are not yet completed.
@@ -40,7 +40,7 @@ jobs:
restore-keys: ${{ runner.os }}-linting-${{ hashFiles('**/poetry.lock') }}
- run: |
pip install bandit black codespell mypy==0.982 pyupgrade safety pylint==2.15.2 packaging==22 ruff
pip install bandit black codespell mypy==0.982 pyupgrade safety pylint==2.15.2 packaging==22 ruff==0.0.212
pip install types-pytz types-requests types-termcolor types-tabulate types-PyYAML types-python-dateutil types-setuptools types-six
- run: bandit -x ./tests -r . || true
- run: black --diff --check .

View File

@@ -92,7 +92,7 @@ jobs:
MPLBACKEND: Agg
run: |
source $VENV
pytest tests/ --optimization
pytest tests/ --optimization --autodoc
- name: Start Terminal and exit
run: |