Skip to content

Fix the building of documentation #133

Fix the building of documentation

Fix the building of documentation #133

Workflow file for this run

name: Tox tests
on: [push, pull_request]
jobs:
py311:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update existing dependencies
run: sudo apt-get update -y
- name: Install system dependencies
run: sudo apt-get install -y libkrb5-dev
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -e py311 -vv
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update existing dependencies
run: sudo apt-get update -y
- name: Install system dependencies
run: sudo apt-get install -y libkrb5-dev
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -e black -vv
flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update existing dependencies
run: sudo apt-get update -y
- name: Install system dependencies
run: sudo apt-get install -y libkrb5-dev
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -e flake8 -vv
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update existing dependencies
run: sudo apt-get update -y
- name: Install system dependencies
run: sudo apt-get install -y libkrb5-dev
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -e docs -vv
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update existing dependencies
run: sudo apt-get update -y
- name: Install system dependencies
run: sudo apt-get install -y libkrb5-dev
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -e py311
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
fail_ci_if_error: true
verbose: true
bandit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update existing dependencies
run: sudo apt-get update -y
- name: Install system dependencies
run: sudo apt-get install -y libkrb5-dev
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -e py3-bandit -vv