@@ -11,12 +11,12 @@ jobs:
11
11
name : " Check style and lint"
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - uses : actions/checkout@v2
14
+ - uses : actions/checkout@v3
15
15
- name : Set up Python
16
- uses : actions/setup-python@v2
16
+ uses : actions/setup-python@v4
17
17
with :
18
- python-version : 3.9
19
- - uses : actions/cache@v2
18
+ python-version : " 3.11 "
19
+ - uses : actions/cache@v3
20
20
with :
21
21
path : ${{ env.pythonLocation }}
22
22
key : ${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('test-requirements.txt') }}
@@ -37,14 +37,14 @@ jobs:
37
37
needs : lint
38
38
strategy :
39
39
matrix :
40
- python-version : [3.8, 3.9 ]
40
+ python-version : ["3.10", "3.11" ]
41
41
steps :
42
- - uses : actions/checkout@v2
42
+ - uses : actions/checkout@v3
43
43
- name : Set up Python
44
- uses : actions/setup-python@v2
44
+ uses : actions/setup-python@v4
45
45
with :
46
46
python-version : ${{ matrix.python-version }}
47
- - uses : actions/cache@v2
47
+ - uses : actions/cache@v3
48
48
with :
49
49
path : ${{ env.pythonLocation }}
50
50
key : ${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('test-requirements.txt') }}
@@ -60,12 +60,12 @@ jobs:
60
60
runs-on : ubuntu-latest
61
61
needs : lint
62
62
steps :
63
- - uses : actions/checkout@v2
63
+ - uses : actions/checkout@v3
64
64
- name : Set up Python
65
- uses : actions/setup-python@v2
65
+ uses : actions/setup-python@v4
66
66
with :
67
67
python-version : 3.9
68
- - uses : actions/cache@v2
68
+ - uses : actions/cache@v3
69
69
with :
70
70
path : ${{ env.pythonLocation }}
71
71
key : ${{ env.pythonLocation }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('test-requirements.txt') }}
76
76
- name : Run pytest on ${{ matrix.python-version }}
77
77
run : pytest --cov=./ --cov-report=xml
78
78
- name : " Upload coverage to Codecov"
79
- uses : codecov/codecov-action@v2
79
+ uses : codecov/codecov-action@v3
80
80
with :
81
81
fail_ci_if_error : true
0 commit comments