Skip to content

Requirements.txt (#18) #5

Requirements.txt (#18)

Requirements.txt (#18) #5

Workflow file for this run

name: Check code
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint isort flake8
pip install -r requirements.txt
- name: Lint check
continue-on-error: false
run: |
pylint $(git ls-files -- '*.py')
- name: Running flake8
continue-on-error: false
run: |
flake8 $(git ls-files -- '*.py')
- name: Checking imports
continue-on-error: false
run: |
isort --check $(git ls-files -- '*.py')