Skip to content

Commit

Permalink
feat(ci): split out newer python versions for jammy
Browse files Browse the repository at this point in the history
  • Loading branch information
cpg1111 committed Sep 10, 2024
1 parent f99c7d4 commit 7ab1efe
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 6 deletions.
31 changes: 27 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
envlist = py3, lint, imports

[testenv:py3]
commands = coverage run setup.py test {posargs}
commands = coverage run 'setup.py test {posargs}'
sitepackages = False
deps = coverage
deps =
coverage
setuptools

[testenv:integrate]
commands = {envpython} -m integrate {posargs}
Expand Down

0 comments on commit 7ab1efe

Please sign in to comment.