Skip to content

Commit cd42634

Browse files
committed
py
1 parent 3e07d2f commit cd42634

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/CI-unixish.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ jobs:
4040
- name: Install missing Python packages
4141
run: |
4242
python --version
43-
python -m pip install pip --upgrade
44-
python -m pip install pytest
43+
python3 --version
44+
python3 -m pip install pip --upgrade
45+
python3 -m pip install pytest
4546
4647
- name: CMake build on ubuntu (with GUI / system tinyxml2)
4748
if: contains(matrix.os, 'ubuntu')
@@ -117,11 +118,11 @@ jobs:
117118
- name: Run test/cli
118119
run: |
119120
cd test/cli
120-
pytest test-*.py
121+
python3 -m pytest test-*.py
121122
cd ../../..
122123
ln -s cppcheck 'cpp check'
123124
cd 'cpp check/test/cli'
124-
pytest test-*.py
125+
python3 -m pytest test-*.py
125126
126127
# fails on macos since some includes (e.g. sys/epoll.h) are not available
127128
- name: Run cfg tests

0 commit comments

Comments
 (0)