@@ -12,19 +12,17 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
14
14
steps :
15
- - uses : actions/checkout@v3
16
- - uses : actions/setup-python@v4
15
+ - uses : actions/checkout@v4
16
+ - uses : actions/setup-python@v5
17
17
with :
18
- python-version : " 3.10 "
18
+ python-version : " 3.11 "
19
19
cache : pip
20
20
cache-dependency-path : pyproject.toml
21
21
22
22
- name : Install dependencies
23
23
run : |
24
24
python -m pip install --upgrade pip
25
- pip install .[strict]
26
- pip install .[tests]
27
- pip install .[dev]
25
+ pip install .[tests,dev]
28
26
29
27
- name : Lint
30
28
run : |
@@ -34,12 +32,12 @@ jobs:
34
32
runs-on : ubuntu-latest
35
33
strategy :
36
34
matrix :
37
- python-version : [ "3.9 ", "3.10 ", "3.11" ]
35
+ python-version : ["3.10 ", "3.11 ", "3.12" ]
38
36
39
37
steps :
40
- - uses : actions/checkout@v2.3.4
38
+ - uses : actions/checkout@v4
41
39
42
- - uses : actions/setup-python@v2.2.2
40
+ - uses : actions/setup-python@v5
43
41
with :
44
42
python-version : ${{ matrix.python-version }}
45
43
@@ -53,15 +51,14 @@ jobs:
53
51
- name : Install dependencies
54
52
run : |
55
53
python -m pip install --upgrade pip
56
- pip install .[strict]
57
54
pip install .[tests]
58
55
59
56
- name : Test
60
57
run : |
61
58
pytest --cov=pyrho --cov-report=xml
62
59
63
60
- uses : codecov/codecov-action@v1
64
- if : matrix.python-version == 3.8
61
+ if : matrix.python-version == 3.11
65
62
with :
66
63
token : ${{ secrets.CODECOV_TOKEN }}
67
64
file : ./coverage.xml
@@ -70,19 +67,18 @@ jobs:
70
67
runs-on : ubuntu-latest
71
68
72
69
steps :
73
- - uses : actions/checkout@v3
70
+ - uses : actions/checkout@v4
74
71
75
72
- name : Install pandoc
76
73
run : sudo apt-get install pandoc
77
74
78
- - uses : actions/setup-python@v3
75
+ - uses : actions/setup-python@v5
79
76
with :
80
77
python-version : 3.11
81
78
82
79
- name : Install dependencies
83
80
run : |
84
81
python -m pip install --upgrade pip
85
- pip install -e .[strict]
86
82
pip install -e .[docs]
87
83
- name : Build
88
84
run : sphinx-build docs/source _build
0 commit comments