Skip to content

chore: scheduled pip-compile #631

chore: scheduled pip-compile

chore: scheduled pip-compile #631

Workflow file for this run

name: Tox tests
on: [push, pull_request]
jobs:
py38:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install RPM
run: sudo apt-get install -y rpm libkrb5-dev
- name: Upgrade pip
run: pip install --upgrade pip
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install Tox
run: pip install tox 'virtualenv<20.21.1'
- name: Run Tox
run: tox -e py38
static:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install RPM
run: sudo apt-get install -y rpm libkrb5-dev
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install Tox
run: pip install tox 'virtualenv<20.21.1'
- name: Run Tox
run: tox -e static
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install RPM
run: sudo apt-get install -y rpm libkrb5-dev
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install Tox
run: pip install tox 'virtualenv<20.21.1'
- name: Install pytest cov
run: pip install pytest-cov
- name: Run Tox
run: tox -e cov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: true
verbose: true
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install RPM
run: sudo apt-get install -y rpm libkrb5-dev
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install Tox
run: pip install tox 'virtualenv<20.21.1'
- name: Run Tox
run: tox -e docs
bandit-exitzero:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install RPM
run: |
sudo apt-get install -y rpm
sudo apt-get install -y libkrb5-dev
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install Tox
run: pip install tox 'virtualenv<20.21.1'
- name: Run Tox
run: tox -e bandit-exitzero
bandit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install RPM
run: |
sudo apt-get install -y rpm
sudo apt-get install -y libkrb5-dev
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install Tox
run: pip install tox 'virtualenv<20.21.1'
- name: Run Tox
run: tox -e bandit