Skip to content

Commit f7f310f

Browse files
authored
ci: Ensure minimum tested version is 3.7 (#43)
1 parent 869087b commit f7f310f

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

.github/workflows/lint.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
- name: Checkout code
1717
uses: actions/checkout@v3
1818

19-
- name: Set up python 3.8
19+
- name: Set up python 3.7
2020
uses: actions/setup-python@v4
2121
with:
22-
python-version: 3.8
22+
python-version: 3.7
2323
cache: pip
2424
cache-dependency-path: |
2525
setup.py
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: ubuntu-latest
3535
strategy:
3636
matrix:
37-
python-version: ["3.8", "3.9", "3.10"]
37+
python-version: ["3.7", "3.8", "3.9", "3.10"]
3838
fail-fast: false
3939
steps:
4040
- name: Checkout code
@@ -61,8 +61,8 @@ jobs:
6161
version: ${{ env.PYRIGHT_VERSION }}
6262
python-version: ${{ matrix.python-version }}
6363
python-platform: Linux
64-
# only add comments for 3.8
65-
no-comments: ${{ matrix.python-version != '3.8' }}
64+
# only add comments for 3.7
65+
no-comments: ${{ matrix.python-version != '3.7' }}
6666
warnings: true
6767

6868
- name: Run pyright (Windows)
@@ -84,10 +84,10 @@ jobs:
8484
- name: Checkout code
8585
uses: actions/checkout@v3
8686

87-
- name: Set up python 3.8
87+
- name: Set up python 3.7
8888
uses: actions/setup-python@v4
8989
with:
90-
python-version: 3.8
90+
python-version: 3.7
9191
cache: pip
9292
cache-dependency-path: |
9393
setup.py

.github/workflows/python-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Python
1818
uses: actions/setup-python@v2
1919
with:
20-
python-version: '3.8'
20+
python-version: '3.10'
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip

.github/workflows/python-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818

1919
steps:
2020
- uses: actions/checkout@v2
21-
- name: Set up Python 3.8
21+
- name: Set up Python 3.7
2222
uses: actions/setup-python@v2
2323
with:
24-
python-version: 3.8
24+
python-version: 3.7
2525
- name: Install dependencies
2626
run: |
2727
python -m pip install --upgrade pip

.github/workflows/python-update-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python-version: [3.8]
17+
python-version: ['3.10']
1818
steps:
1919
- uses: actions/checkout@v2
2020
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/test-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python-version: [3.8]
17+
python-version: ['3.7']
1818
steps:
1919
- uses: actions/checkout@v2
2020
- name: Set up Python ${{ matrix.python-version }}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dynamic = ["version", "description"]
1414

1515
[tool.black]
1616
line-length = 100
17-
target-version = ["py38", "py39", "py310"]
17+
target-version = ["py37", "py38", "py39", "py310"]
1818

1919

2020
[tool.isort]

0 commit comments

Comments
 (0)