Merge pull request #227 from rohanpm/drop-codecov #529
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: | |
static: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install OS packages | |
run: | | |
sudo apt-get -y update | |
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 | |
- name: Run Tox | |
run: tox -e static | |
pidiff: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install OS packages | |
run: | | |
sudo apt-get -y update | |
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 | |
- name: Run Tox | |
run: tox -e pidiff | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install OS packages | |
run: | | |
sudo apt-get -y update | |
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 | |
- name: Run Tox | |
run: tox -e cov | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install OS packages | |
run: | | |
sudo apt-get -y update | |
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 | |
- name: Run Tox | |
run: tox -e docs | |
bandit-exitzero: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install OS packages | |
run: | | |
sudo apt-get -y update | |
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 | |
- name: Run Tox | |
run: tox -e py3-bandit-exitzero | |
bandit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install OS packages | |
run: | | |
sudo apt-get -y update | |
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 | |
- name: Run Tox | |
run: tox -e py3-bandit |