Skip to content

Commit

Permalink
Update ci for python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Jun 28, 2023
1 parent 177702d commit 6dce70d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
26 changes: 19 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,34 @@ on:

jobs:
pre-commit:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: pre-commit/[email protected]

tests:
name: "Python ${{ matrix.python-version }}"
runs-on: "ubuntu-latest"
runs-on: ${{ matrix.machine }}
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
include:
- python-version: "3.6"
machine: ubuntu-20.04
- python-version: "3.7"
machine: ubuntu-22.04
- python-version: "3.8"
machine: ubuntu-22.04
- python-version: "3.9"
machine: ubuntu-22.04
- python-version: "3.10"
machine: ubuntu-22.04
- python-version: "3.11"
machine: ubuntu-22.04
steps:
- uses: "actions/checkout@v2"
- uses: "actions/setup-python@v2"
- uses: "actions/checkout@v3"
- uses: "actions/setup-python@v4"
with:
python-version: "${{ matrix.python-version }}"
- name: "Install dependencies"
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[gh-actions]
python =
3.6: py36
3.7: py37, typing
3.8: py38, typing
3.9: py39, typing, pypi-description
Expand All @@ -10,6 +11,7 @@ python =
[tox]
isolated_build = True
envlist =
py36
py37
py38
py39
Expand Down

0 comments on commit 6dce70d

Please sign in to comment.