Skip to content

Release 0.27.0

Release 0.27.0 #204

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@v5
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@v5
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@v5
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@v5
with:
python-version: 3.11
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -e docs -vv
mypy:
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@v5
with:
python-version: 3.11
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -e mypy -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@v5
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/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
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@v5
with:
python-version: 3.11
- name: Install Tox
run: pip install tox
- name: Run Tox
run: tox -e py3-bandit -vv