Skip to content

Commit

Permalink
Merge pull request #6 from sbidoul/py36-sbi
Browse files Browse the repository at this point in the history
Declare python 3.6 support
  • Loading branch information
sbidoul authored Jun 28, 2023
2 parents c59a25d + 6dce70d commit cf145bb
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 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: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies = [
"pydantic",
"wrapt",
]
requires-python = ">=3.7"
requires-python = ">=3.6"

[project.optional-dependencies]
test = [
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 cf145bb

Please sign in to comment.