From 0a1d2aac0aec0e245033f1dad61caddb5a9cbe7a Mon Sep 17 00:00:00 2001 From: Sigurd Spieckermann Date: Fri, 22 Mar 2024 11:15:54 +0100 Subject: [PATCH 1/2] Install isort only for Python <4 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 404508c..24e350f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ click = ">=7" [tool.poetry.dev-dependencies] pytest = "^6.2.5" black = "^21.9b0" -isort = "^5.9.3" +isort = {version = "^5.9.3", python = "<4"} flake8 = "^3.9.2" mypy = "^0.910" From 5c013e839dbf48f38fa3746bccd088aa11e6ef11 Mon Sep 17 00:00:00 2001 From: Sigurd Spieckermann Date: Fri, 22 Mar 2024 11:17:16 +0100 Subject: [PATCH 2/2] Run CI for Python 3.6 on Ubuntu 20.04 --- .github/workflows/cicd.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 8517766..90a5024 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -4,13 +4,12 @@ on: [push, pull_request] jobs: ci: - runs-on: ${{ matrix.os }} + runs-on: ${{ matrix.python-version == '3.6' && 'ubuntu-20.04' || 'ubuntu-latest' }} strategy: fail-fast: false max-parallel: 4 matrix: python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"] - os: [ubuntu-latest] steps: - uses: actions/checkout@v1