Skip to content

Ditch python 2.7, 3.6 and 3.7 support #45

Ditch python 2.7, 3.6 and 3.7 support

Ditch python 2.7, 3.6 and 3.7 support #45

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
- uses: actions/[email protected]
- run: python -m pip install --upgrade black
- run: black --check .
flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
- uses: actions/[email protected]
- run: python -m pip install flake8
- run: flake8
isort:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: actions/[email protected]
- run: python -m pip install cryptography isort==5.6.4
- run: isort --diff --check lora tests
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, "3.10", 3.11]
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: actions/[email protected]
- run: python -m pip install discover cryptography==3.2
- run: discover