kiwi-el8/.github/workflows/ci-code-style.yml
Marcus Schäfer 8bfdc9bba4
Use ubuntu-20.04 as github hosted runner
It seems on ubuntu-latest no python 3.6 is available anymore
2022-12-10 21:35:19 +01:00

29 lines
625 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-20.04
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