@@ -14,60 +14,32 @@ concurrency:
14
14
cancel-in-progress : true
15
15
16
16
jobs :
17
- lint-pycodestyle :
18
- name : Code style check with pycodestyle
17
+ lint :
18
+ name : Lint
19
19
runs-on : ubuntu-latest
20
20
steps :
21
21
- name : Checkout
22
22
uses : actions/checkout@v4
23
+
23
24
- name : Merge CI fixes from sagemath/sage
24
25
run : |
25
26
.ci/merge-fixes.sh
26
27
env :
27
28
GH_TOKEN : ${{ github.token }}
29
+
28
30
- name : Set up Python
29
31
uses : actions/setup-python@v4
30
32
with :
31
33
python-version : 3.9
32
- - name : Install pycodestyle
33
- run : pip install tox pycodestyle
34
- - name : Lint using pycodestyle
34
+
35
+ - name : Install dependencies
36
+ run : pip install tox pycodestyle relint
37
+
38
+ - name : Code style check with pycodestyle
35
39
run : tox -e pycodestyle-minimal
36
- lint-relint :
37
- name : Code style check with relint
38
- runs-on : ubuntu-latest
39
- steps :
40
- - name : Checkout
41
- uses : actions/checkout@v4
42
- - name : Merge CI fixes from sagemath/sage
43
- run : |
44
- .ci/merge-fixes.sh
45
- env :
46
- GH_TOKEN : ${{ github.token }}
47
- - name : Set up Python
48
- uses : actions/setup-python@v4
49
- with :
50
- python-version : 3.9
51
- - name : Install relint
52
- run : pip install tox relint
53
- - name : Lint using relint
40
+
41
+ - name : Code style check with relint
54
42
run : tox -e relint -- src/sage/
55
- lint-rst :
56
- name : Validate docstring markup as RST
57
- runs-on : ubuntu-latest
58
- steps :
59
- - name : Checkout
60
- uses : actions/checkout@v4
61
- - name : Merge CI fixes from sagemath/sage
62
- run : |
63
- .ci/merge-fixes.sh
64
- env :
65
- GH_TOKEN : ${{ github.token }}
66
- - name : Set up Python
67
- uses : actions/setup-python@v4
68
- with :
69
- python-version : 3.9
70
- - name : Install tox
71
- run : pip install tox
72
- - name : Lint using tox -e rst
43
+
44
+ - name : Validate docstring markup as RST
73
45
run : tox -e rst
0 commit comments