Skip to content

Commit

Permalink
chg: dev: remove old py version from coverage workflow and tox config
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
  • Loading branch information
sarnold committed Oct 12, 2024
1 parent f54b55e commit c0be58e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
coverage-rounded-display: ${{ steps.coverage.outputs.coverage-rounded-display }}
env:
PLATFORM: ubuntu-20.04
PYTHON: '3.12'
PYTHON: '3.11'
PYTHONIOENCODING: utf-8
PIP_DOWNLOAD_CACHE: ${{ github.workspace }}/../.pip_download_cache

Expand All @@ -147,15 +147,9 @@ jobs:
python -m pip install --upgrade pip
pip install tox
- name: Setup old python for test
uses: actions/setup-python@v5
with:
python-version: '3.6.15'
# this requires going back to focal for 3.6

- name: Generate coverage
run: |
tox -e coverage,py36,py312
tox -e py,coverage
- name: Code Coverage Summary Report (data)
uses: irongut/CodeCoverageSummary@v1.3.0
Expand Down
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
[tox]
envlist = py3{6,8,9,10,11,12}-{linux,macos,windows},coverage
envlist = py3{8,9,10,11,12}-{linux,macos,windows},coverage
skip_missing_interpreters = true
isolated_build = true
skipsdist = true

[gh-actions]
python =
3.6: py36
3.8: py38
3.9: py39
3.10: py310
Expand Down Expand Up @@ -81,7 +80,6 @@ commands =
coverage xml

depends =
py36
py38
py39
py310
Expand Down

0 comments on commit c0be58e

Please sign in to comment.