Skip to content

Commit

Permalink
ci: Drop support for Python 3.6 and support Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
paveldedik committed Aug 19, 2022
1 parent 33f6f30 commit efc1f26
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Setting up tox environment
uses: docker://kiwicom/tox:3.22.0
uses: docker://kiwicom/tox:3.25.0
env:
TOXENV: ${{ matrix.toxenv }}
XDG_CACHE_HOME: /tmp/cache
Expand All @@ -18,7 +18,7 @@ jobs:
"
mkdir -p reports ;
apk add --no-cache cargo ;
tox -e $TOXENV -- --junitxml=reports/$TOXENV/test_report.xml --cov structlog_sentry --cov-report xml --cov-config .coveragerc --cov-append --cov-report xml:reports/coverage.xml
tox -e $TOXENV -- --junitxml=reports/$TOXENV/test_report.xml --cov-report xml --cov-config .coveragerc --cov-append --cov-report xml:reports/coverage.xml
"
- name: Cache multiple paths
uses: actions/cache@v2
Expand All @@ -27,4 +27,4 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('poetry.lock') }}
strategy:
matrix:
toxenv: [py36, py37, py38, py39]
toxenv: [py37, py38, py39, py310]
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ classifiers=[
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries :: Python Modules",
]
include = ["*.md", "*.toml", "*.txt", "*.yml", "*.yaml", ".coveragerc", "tox.ini", "structlog_sentry/py.typed"]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist =
lint
py{36,37,38,39}
py{37,38,39,310}
isolated_build = true

[testenv]
Expand Down

0 comments on commit efc1f26

Please sign in to comment.