Skip to content

Commit 4ea188c

Browse files
committed
updated latest Python in CI to 3.10
1 parent 098c0c4 commit 4ea188c

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎.github/workflows/CI-unixish.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v2
1919

20-
- name: Set up Python 3.9
20+
- name: Set up Python 3.10
2121
uses: actions/setup-python@v2
2222
with:
23-
python-version: 3.9
23+
python-version: 3.10
2424

2525
- name: Cache uncrustify
2626
uses: actions/cache@v2

‎.github/workflows/CI-windows.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v2
2727

28-
- name: Set up Python 3.9
28+
- name: Set up Python 3.10
2929
uses: actions/setup-python@v2
3030
with:
31-
python-version: 3.9
31+
python-version: 3.10
3232

3333
- name: Setup msbuild.exe
3434
uses: microsoft/setup-msbuild@v1.0.2

‎.github/workflows/scriptcheck.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-20.04
1111
strategy:
1212
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]
1414
fail-fast: false
1515

1616
steps:
@@ -48,25 +48,25 @@ jobs:
4848
python -m pip install psutil
4949
5050
- name: run Shellcheck
51-
if: matrix.python-version == '3.9'
51+
if: matrix.python-version == '3.10'
5252
run: |
5353
find . -name "*.sh" | xargs shellcheck --exclude SC2002,SC2013,SC2034,SC2035,SC2043,SC2046,SC2086,SC2089,SC2090,SC2129,SC2211,SC2231
5454
5555
- name: run pylint
56-
if: matrix.python-version == '3.9'
56+
if: matrix.python-version == '3.10'
5757
run: |
5858
pylint --rcfile=pylintrc_travis addons/*.py
5959
pylint --rcfile=pylintrc_travis htmlreport/cppcheck-htmlreport
6060
pylint --rcfile=pylintrc_travis htmlreport/*.py
6161
pylint --rcfile=pylintrc_travis tools/*.py
6262
6363
- name: check .json files
64-
if: matrix.python-version == '3.9'
64+
if: matrix.python-version == '3.10'
6565
run: |
6666
find . -name '*.json' | xargs -n 1 python -m json.tool > /dev/null
6767
6868
- name: Validate
69-
if: matrix.python-version == '3.9'
69+
if: matrix.python-version == '3.10'
7070
run: |
7171
make -j$(nproc) validateCFG validatePlatforms validateRules
7272
@@ -103,7 +103,7 @@ jobs:
103103
./check.sh
104104
105105
- name: dmake
106-
if: matrix.python-version == '3.9'
106+
if: matrix.python-version == '3.10'
107107
run: |
108108
make -j$(nproc) run-dmake
109109
git diff --exit-code

0 commit comments

Comments
 (0)