Skip to content

check if python version causes problems #11

check if python version causes problems

check if python version causes problems #11

Workflow file for this run

name: bandit and flake8
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
# https://endoflife.date/python
# https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md#python
python-version:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
steps:
- uses: actions/checkout@v4
- name: set up python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install -r requirements.txt
- run: pip install flake8 bandit
- run: flake8 *.py
- run: bandit *.py