Skip to content

Commit

Permalink
Modernize the GHA configuration (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex committed Sep 5, 2023
1 parent f98354b commit 0c93431
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,23 @@ on:

jobs:
ci:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
PYTHON:
- {VERSION: "2.7", TOXENV: "py27"}
- {VERSION: "3.5", TOXENV: "py35"}
- {VERSION: "3.6", TOXENV: "py36"}
- {VERSION: "3.7", TOXENV: "py37"}
- {VERSION: "3.8", TOXENV: "py38"}
- {VERSION: "3.9", TOXENV: "py39"}
- {VERSION: "3.10", TOXENV: "py310"}
- {VERSION: "3.11", TOXENV: "py311"}
- {VERSION: "3.12-dev", TOXENV: "py312"}
- {VERSION: "pypy-3.7", TOXENV: "pypy3"}
- {VERSION: "pypy-3.8", TOXENV: "pypy3"}
- {VERSION: "pypy-3.9", TOXENV: "pypy3"}
- {VERSION: "pypy-3.10", TOXENV: "pypy3"}
- {VERSION: "3.6", TOXENV: "pep8"}
name: "tox ${{ matrix.PYTHON.TOXENV }}"
steps:
- uses: actions/checkout@v3
- name: Setup python
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27,py35,py36,py37,py38,py39,pypy3,pep8
envlist = py35,py36,py37,py38,py39,py310,py311,py312,pypy3,pep8

[testenv]
deps =
Expand Down

0 comments on commit 0c93431

Please sign in to comment.