chore: scheduled pip-compile #339
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: Tox tests | |
on: [push, pull_request] | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install system dependencies | |
run: sudo apt-get install -y libkrb5-dev | |
- name: Install Tox | |
run: pip install tox | |
- name: Run Tox | |
run: tox -e docs | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install system dependencies | |
run: sudo apt-get install -y libkrb5-dev | |
- name: Install Tox | |
run: pip install tox | |
- 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 | |
bandit-exitzero: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install RPM | |
run: sudo apt-get install -y rpm | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install Tox | |
run: pip install tox | |
- name: Run Tox | |
run: tox -e py3-bandit-exitzero | |
bandit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install RPM | |
run: sudo apt-get install -y rpm | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install Tox | |
run: pip install tox | |
- name: Run Tox | |
run: tox -e py3-bandit |