From e304017d0c435b3eb6522069fe290d8aeb0e3dab Mon Sep 17 00:00:00 2001 From: Christian Grabowski Date: Tue, 10 Sep 2024 12:44:18 -0600 Subject: [PATCH] feat(ci): split out newer python versions for jammy --- .github/workflows/ci.yml | 31 +++++++++++++++++++++++++++---- tox.ini | 4 +++- 2 files changed, 30 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d50e7a5..c4f9a6e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,16 +28,39 @@ jobs: run: | tox -e lint - test: - runs-on: ubuntu-22.04 + test-focal: + runs-on: ubuntu-20.04 strategy: matrix: python-version: - "3.6" - "3.7" - "3.8" - - "3.9" - - "3.10" + steps: + - name: Repository checkout + uses: actions/checkout@v3 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + + - name: Install dependencies + run: | + pip install --upgrade pip tox codecov + + - name: Test + run: | + tox -e py3 + codecov + + test-jammy: + runs-on: ubuntu-22.04 + strategy: + matrix: + python-version: + #- "3.9" + #- "3.10" - "3.12" steps: - name: Repository checkout diff --git a/tox.ini b/tox.ini index 485859e..bebf932 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,9 @@ envlist = py3, lint, imports [testenv:py3] commands = coverage run setup.py test {posargs} sitepackages = False -deps = coverage +deps = + coverage + setuptools [testenv:integrate] commands = {envpython} -m integrate {posargs}