Skip to content

Commit 8639280

Browse files
authored
Update ci.yml
1 parent fd8bf11 commit 8639280

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,17 @@ jobs:
1313
runs-on: ${{ matrix.os }}
1414
strategy:
1515
matrix:
16-
build: [linux_3.8, windows_3.8, mac_3.8, linux_3.7]
16+
build: [linux_3.9, windows_3.9, mac_3.9]
1717
include:
18-
- build: linux_3.8
18+
- build: linux_3.9
1919
os: ubuntu-latest
20-
python: 3.8
21-
- build: windows_3.8
20+
python: 3.9
21+
- build: windows_3.9
2222
os: windows-latest
23-
python: 3.8
24-
- build: mac_3.8
23+
python: 3.9
24+
- build: mac_3.9
2525
os: macos-latest
26-
python: 3.8
27-
- build: linux_3.7
28-
os: ubuntu-latest
29-
python: 3.7
26+
python: 3.9
3027
steps:
3128
- name: Checkout repository
3229
uses: actions/checkout@v2
@@ -43,16 +40,16 @@ jobs:
4340
4441
# test all the builds apart from linux_3.8...
4542
- name: Test with pytest
46-
if: matrix.build != 'linux_3.8'
43+
if: matrix.build != 'linux_3.9'
4744
run: pytest
4845

4946
# only do the test coverage for linux_3.8
5047
- name: Produce coverage report
51-
if: matrix.build == 'linux_3.8'
48+
if: matrix.build == 'linux_3.9'
5249
run: pytest --cov=fastapi_async_sqlalchemy --cov-report=xml
5350

5451
- name: Upload coverage report
55-
if: matrix.build == 'linux_3.8'
52+
if: matrix.build == 'linux_3.9'
5653
uses: codecov/codecov-action@v1
5754
with:
5855
file: ./coverage.xml
@@ -67,7 +64,7 @@ jobs:
6764
- name: Set up Python
6865
uses: actions/setup-python@v1
6966
with:
70-
python-version: 3.7
67+
python-version: 3.9
7168

7269
- name: Install dependencies
7370
run: pip install flake8
@@ -85,7 +82,7 @@ jobs:
8582
- name: Set up Python
8683
uses: actions/setup-python@v1
8784
with:
88-
python-version: 3.7
85+
python-version: 3.9
8986

9087
- name: Install dependencies
9188
# isort needs all of the packages to be installed so it can

0 commit comments

Comments
 (0)