Charmed-Kubernetes/containerd/hooks/relations/docker-registry/.github/workflows/tox.yaml

25 lines
512 B
YAML

name: Run tests with Tox
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
- name: Install Tox and any other packages
run: pip install tox
- name: Run Lint
run: tox -e lint # Run tox using the version of Python in `PATH`