Skip to content

Commit 75e786a

Browse files
authored
Merge pull request #80 from dmerejkowsky/3.10
Add support for Python 3.10
2 parents 819c8e0 + a777780 commit 75e786a

File tree

5 files changed

+79
-87
lines changed

5 files changed

+79
-87
lines changed

.github/workflows/doc.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,17 @@ jobs:
1414

1515
- uses: actions/checkout@v1
1616

17-
- name: Set up Python 3.9
18-
uses: actions/setup-python@v1
17+
- name: Set up Python
18+
uses: actions/setup-python@v2.2.2
1919
with:
20-
python-version: 3.9
20+
python-version: "3.10"
2121

2222
- name: Install and configure poetry
2323
run: |
2424
python -m pip install poetry
2525
2626
- name: Prepare project for development
2727
run: |
28-
python -m poetry run python -m pip install --upgrade pip
2928
python -m poetry install
3029
3130
- name: Build documentation

.github/workflows/linters.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,20 @@ jobs:
1515

1616
- uses: actions/checkout@v1
1717

18-
- name: Set up Python 3.9
19-
uses: actions/setup-python@v1
18+
- name: Set up Python
19+
uses: actions/setup-python@v2.2.2
2020
with:
21-
python-version: 3.9
21+
python-version: "3.10"
2222

2323
- name: Install and configure poetry
2424
run: |
2525
python -m pip install poetry
2626
2727
- name: Prepare project for development
2828
run: |
29-
python -m poetry run python -m pip install --upgrade pip
3029
python -m poetry install
3130
32-
- name: Run lints
31+
- name: Run linters
3332
run: |
3433
python -m poetry run invoke lint
3534

.github/workflows/safety.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,20 @@ 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 }}
17-
uses: actions/setup-python@v1
12+
- name: Set up Python
13+
uses: actions/setup-python@v2.2.2
1814
with:
19-
python-version: ${{ matrix.python-version }}
15+
python-version: "3.10"
2016

2117
- name: Install and configure poetry
2218
run: |
2319
python -m pip install poetry
2420
2521
- name: Prepare project for development
2622
run: |
27-
python -m poetry run python -m pip install --upgrade pip
2823
python -m poetry install
2924
3025
- name: Run safety dependency check

.github/workflows/tests.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ 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:
2020

2121
- uses: actions/checkout@v1
2222

2323
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v1
24+
uses: actions/setup-python@v2.2.2
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727

@@ -31,7 +31,6 @@ jobs:
3131
3232
- name: Prepare project for development
3333
run: |
34-
python -m poetry run python -m pip install --upgrade pip
3534
python -m poetry install
3635
3736
- name: Run tests

0 commit comments

Comments
 (0)