Skip to content

Commit 9f35fdb

Browse files
committed
CI: python -> python3
1 parent d206614 commit 9f35fdb

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

.github/workflows/engine_unit-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
- name: Install coverage
3434
run: |
35-
python -m pip install --upgrade pip
35+
python3 -m pip install --upgrade pip
3636
pip install coverage
3737
3838
- name: Run unit-tests and collect coverage

.github/workflows/engine_unit-test_no-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ jobs:
3232

3333
- name: Run unit-tests
3434
run: |
35-
python -m unittest -v -b
35+
python3 -m unittest -v -b

.github/workflows/functional_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
- name: Install package
3131
run: |
32-
python -m pip install --upgrade pip
32+
python3 -m pip install --upgrade pip
3333
echo "Install the package via pip..."
3434
pip --verbose install git+https://github.com/a13xp0p0v/kernel-hardening-checker
3535
echo "Run the installed tool..."

.github/workflows/functional_test_no-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
- name: Install package
3131
run: |
32-
python -m pip install --upgrade pip
32+
python3 -m pip install --upgrade pip
3333
echo "Install the package via pip..."
3434
pip --verbose install git+https://github.com/a13xp0p0v/kernel-hardening-checker
3535
echo "Run the installed tool..."

.woodpecker/engine_unit-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ steps:
44
image: python:3
55
commands:
66
- echo "Prepare the engine unit-test..."
7-
- python --version
7+
- python3 --version
88
- pip install --no-cache-dir coverage
99
- echo "Run unit-tests and collect coverage..."
1010
- coverage run --include=kernel_hardening_checker/engine.py,kernel_hardening_checker/test_engine.py -m unittest -v -b

.woodpecker/functional_test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ steps:
77
- cd ..
88
- pwd
99
- ls -la
10-
- python --version
10+
- python3 --version
1111
- echo "Install the package via pip..."
1212
- pip --verbose install --no-cache-dir git+https://github.com/a13xp0p0v/kernel-hardening-checker
1313
- echo "Run the installed tool..."
@@ -24,22 +24,22 @@ steps:
2424
image: python:3
2525
commands:
2626
- echo "Install the mypy tool..."
27-
- python --version
27+
- python3 --version
2828
- pip install --no-cache-dir mypy
2929
- mypy kernel_hardening_checker/ --show-error-context --pretty --no-incremental --check-untyped-defs --disallow-untyped-defs --strict-equality
3030
pylint-checking:
3131
image: python:3
3232
commands:
3333
- echo "Install the pylint tool..."
34-
- python --version
34+
- python3 --version
3535
- pip install --no-cache-dir pylint
3636
- pip install --no-cache-dir setuptools
3737
- pylint --recursive=y kernel_hardening_checker
3838
functional-test-with-coverage:
3939
image: python:3
4040
commands:
4141
- echo "Install the coverage tool..."
42-
- python --version
42+
- python3 --version
4343
- pip install --no-cache-dir coverage
4444
- echo "Run the functional tests and collect the coverage..."
4545
- sh .github/workflows/functional_test.sh

0 commit comments

Comments
 (0)