Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: bump versions #75

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 12 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: pip
Expand All @@ -36,16 +36,10 @@ jobs:
- run: make check-commits

test:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
include:
- python: '3.6'
toxenv: py36
- python: '3.7'
toxenv: py37
- python: '3.8'
toxenv: py38
- python: '3.9'
toxenv: py39
- python: '3.10'
Expand All @@ -54,14 +48,16 @@ jobs:
toxenv: py311
- python: '3.12'
toxenv: py312
- python: '3.13'
toxenv: py313
- python: pypy3.9
toxenv: pypy3
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: pip
Expand All @@ -73,30 +69,30 @@ jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: pip
restore-keys: pip
- run: python -m pip install --upgrade pip setuptools wheel
- run: python -m pip install --upgrade tox
- run: python -m tox -e coverage
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4

deploy:
needs: [lint, test]
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: pip
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: BSD-3-Clause

[tox]
envlist = format,lint,py{36,37,38,39,310,311,312,py3},coverage
envlist = format,lint,py{39,310,311,312,313,py3},coverage
skip_missing_interpreters = true
isolated_build = true
distdir = {toxinidir}/dist
Expand Down