Skip to content

Commit a73cff3

Browse files
committed
GitHub Actions: Use Python 3.10 by default and add it to the test matrix
1 parent c8d20d0 commit a73cff3

File tree

4 files changed

+8
-12
lines changed

4 files changed

+8
-12
lines changed

.github/workflows/doc.yml

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

1515
- uses: actions/checkout@v1
1616

17-
- name: Set up Python 3.9
17+
- name: Set up Python
1818
uses: actions/setup-python@v1
1919
with:
20-
python-version: 3.9
20+
python-version: 3.10
2121

2222
- name: Install and configure poetry
2323
run: |

.github/workflows/linters.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515

1616
- uses: actions/checkout@v1
1717

18-
- name: Set up Python 3.9
18+
- name: Set up Python
1919
uses: actions/setup-python@v1
2020
with:
21-
python-version: 3.9
21+
python-version: 3.10
2222

2323
- name: Install and configure poetry
2424
run: |
@@ -29,7 +29,7 @@ jobs:
2929
python -m poetry run python -m pip install --upgrade pip
3030
python -m poetry install
3131
32-
- name: Run lints
32+
- name: Run linters
3333
run: |
3434
python -m poetry run invoke lint
3535

.github/workflows/safety.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,13 @@ on:
66
jobs:
77
safety:
88
runs-on: ubuntu-latest
9-
strategy:
10-
fail-fast: false
11-
matrix:
12-
python-version: [3.9]
139
steps:
1410
- uses: actions/checkout@v1
1511

16-
- name: Set up Python ${{ matrix.python-version }}
12+
- name: Set up Python
1713
uses: actions/setup-python@v1
1814
with:
19-
python-version: ${{ matrix.python-version }}
15+
python-version: 3.10
2016

2117
- name: Install and configure poetry
2218
run: |

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: [3.6, 3.7, 3.8, 3.9]
16+
python-version: [3.6, 3.7, 3.8, 3.9, 3.10]
1717
os: [ubuntu-latest, macos-latest, windows-latest]
1818

1919
steps:

0 commit comments

Comments
 (0)