@@ -13,20 +13,17 @@ jobs:
13
13
runs-on : ${{ matrix.os }}
14
14
strategy :
15
15
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 ]
17
17
include :
18
- - build : linux_3.8
18
+ - build : linux_3.9
19
19
os : ubuntu-latest
20
- python : 3.8
21
- - build : windows_3.8
20
+ python : 3.9
21
+ - build : windows_3.9
22
22
os : windows-latest
23
- python : 3.8
24
- - build : mac_3.8
23
+ python : 3.9
24
+ - build : mac_3.9
25
25
os : macos-latest
26
- python : 3.8
27
- - build : linux_3.7
28
- os : ubuntu-latest
29
- python : 3.7
26
+ python : 3.9
30
27
steps :
31
28
- name : Checkout repository
32
29
uses : actions/checkout@v2
@@ -43,16 +40,16 @@ jobs:
43
40
44
41
# test all the builds apart from linux_3.8...
45
42
- name : Test with pytest
46
- if : matrix.build != 'linux_3.8 '
43
+ if : matrix.build != 'linux_3.9 '
47
44
run : pytest
48
45
49
46
# only do the test coverage for linux_3.8
50
47
- name : Produce coverage report
51
- if : matrix.build == 'linux_3.8 '
48
+ if : matrix.build == 'linux_3.9 '
52
49
run : pytest --cov=fastapi_async_sqlalchemy --cov-report=xml
53
50
54
51
- name : Upload coverage report
55
- if : matrix.build == 'linux_3.8 '
52
+ if : matrix.build == 'linux_3.9 '
56
53
uses : codecov/codecov-action@v1
57
54
with :
58
55
file : ./coverage.xml
67
64
- name : Set up Python
68
65
uses : actions/setup-python@v1
69
66
with :
70
- python-version : 3.7
67
+ python-version : 3.9
71
68
72
69
- name : Install dependencies
73
70
run : pip install flake8
85
82
- name : Set up Python
86
83
uses : actions/setup-python@v1
87
84
with :
88
- python-version : 3.7
85
+ python-version : 3.9
89
86
90
87
- name : Install dependencies
91
88
# isort needs all of the packages to be installed so it can
0 commit comments