kiwi-el8/.github/workflows/ci-code-style.yml
2021-11-08 14:46:30 -05:00

29 lines
626 B
YAML

name: CI-Code-Style
on:
push:
branches:
- "master"
pull_request:
jobs:
unit_tests:
name: Linter checks for KIWI python and Shell code
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.6", "3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v2
- name: Python${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Tox
run: |
sudo apt update && sudo apt install tox
- name: Run code checks
run: |
tox -e check