File tree 3 files changed +11
-32
lines changed 3 files changed +11
-32
lines changed Original file line number Diff line number Diff line change 9
9
- " *"
10
10
11
11
jobs :
12
- flake8 :
13
- name : flake8 / Py${{ matrix.python-version }}
12
+ static_analysis :
13
+ name : ${{ matrix.make-command }} / Py${{ matrix.python-version }}
14
14
runs-on : ubuntu-latest
15
15
strategy :
16
- fail-fast : true
16
+ fail-fast : false
17
17
matrix :
18
18
python-version : [3.6]
19
+ make-command : [doc8, flake8, pylint]
19
20
20
21
steps :
21
22
32
33
sudo apt-get install virtualenv libkrb5-dev
33
34
pip install -r devel.txt
34
35
35
- - name : Verify flake8
36
+ - name : Verify ${{ matrix.make-command }}
36
37
run : |
37
- make flake8
38
-
39
- pylint :
40
- name : pylint / Py${{ matrix.python-version }}
41
- runs-on : ubuntu-latest
42
- strategy :
43
- fail-fast : true
44
- matrix :
45
- python-version : [3.6]
46
-
47
- steps :
48
-
49
- - name : Check out code
50
- uses : actions/checkout@v2
51
-
52
- - name : Set up Python ${{ matrix.python-version }}
53
- uses : actions/setup-python@v1
54
- with :
55
- python-version : ${{ matrix.python-version }}
56
-
57
- - name : Install Python dependencies
58
- run : |
59
- sudo apt-get install virtualenv libkrb5-dev
60
- pip install -r devel.txt
61
-
62
- - name : Verify pylint
63
- run : |
64
- make pylint
38
+ make ${{ matrix.make-command }}
Original file line number Diff line number Diff line change 9
9
test :
10
10
coverage run --source tcms_api setup.py test
11
11
12
+ .PHONY : doc8
13
+ doc8 :
14
+ doc8 README.rst
15
+
12
16
.PHONY : build
13
17
build :
14
18
./tests/check-build
Original file line number Diff line number Diff line change 1
1
-r requirements.txt
2
2
3
+ doc8
3
4
flake8
4
5
pylint
5
6
twine
You can’t perform that action at this time.
0 commit comments