Implement workflow to push container security manifests #1024
Workflow file for this run
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: | |
py311: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- 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@v3 | |
- 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@v3 | |
- 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@v3 | |
- 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@v3 | |
- 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/codecov-action@v3.1.2 | |
with: | |
fail_ci_if_error: true | |
verbose: true | |
bandit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- 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 |