|
10 | 10 | runs-on: ubuntu-20.04 |
11 | 11 | strategy: |
12 | 12 | matrix: |
13 | | - python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9] |
| 13 | + python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, '3.10'] |
14 | 14 | fail-fast: false |
15 | 15 |
|
16 | 16 | steps: |
@@ -48,25 +48,22 @@ jobs: |
48 | 48 | python -m pip install psutil |
49 | 49 |
|
50 | 50 | - name: run Shellcheck |
51 | | - if: matrix.python-version == '3.9' |
| 51 | + if: matrix.python-version == '3.10' |
52 | 52 | run: | |
53 | 53 | find . -name "*.sh" | xargs shellcheck --exclude SC2002,SC2013,SC2034,SC2035,SC2043,SC2046,SC2086,SC2089,SC2090,SC2129,SC2211,SC2231 |
54 | 54 |
|
55 | 55 | - name: run pylint |
56 | | - if: matrix.python-version == '3.9' |
| 56 | + if: matrix.python-version == '3.10' |
57 | 57 | run: | |
58 | | - pylint --rcfile=pylintrc_travis addons/*.py |
59 | | - pylint --rcfile=pylintrc_travis htmlreport/cppcheck-htmlreport |
60 | | - pylint --rcfile=pylintrc_travis htmlreport/*.py |
61 | | - pylint --rcfile=pylintrc_travis tools/*.py |
| 58 | + pylint --rcfile=pylintrc_travis --jobs $(nproc) addons/*.py htmlreport/cppcheck-htmlreport htmlreport/*.py tools/*.py |
62 | 59 |
|
63 | 60 | - name: check .json files |
64 | | - if: matrix.python-version == '3.9' |
| 61 | + if: matrix.python-version == '3.10' |
65 | 62 | run: | |
66 | 63 | find . -name '*.json' | xargs -n 1 python -m json.tool > /dev/null |
67 | 64 |
|
68 | 65 | - name: Validate |
69 | | - if: matrix.python-version == '3.9' |
| 66 | + if: matrix.python-version == '3.10' |
70 | 67 | run: | |
71 | 68 | make -j$(nproc) validateCFG validatePlatforms validateRules |
72 | 69 |
|
@@ -103,7 +100,7 @@ jobs: |
103 | 100 | ./check.sh |
104 | 101 |
|
105 | 102 | - name: dmake |
106 | | - if: matrix.python-version == '3.9' |
| 103 | + if: matrix.python-version == '3.10' |
107 | 104 | run: | |
108 | 105 | make -j$(nproc) run-dmake |
109 | 106 | git diff --exit-code |
|
0 commit comments