Skip to content

Commit 8a2a3b8

Browse files
committed
ci: use "pip3" instead of "pip"
Problem: With actions/setup-python@v4, "pip" still implies python2 (on macOS at least), wtf? Run pip install . # Install from setup.py DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. ... Solution: Use "pip3" and "python3" explicitly. 🤦🏿
1 parent a087534 commit 8a2a3b8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@ jobs:
5959

6060
- name: install dependencies
6161
run: |
62-
pip install . # Install from setup.py
63-
pip install -q pytest
62+
pip3 install . # Install from setup.py
63+
pip3 install -q pytest
6464
6565
- name: test
6666
run: |
6767
echo $PATH
6868
which nvim
6969
nvim --version
70-
python -m pytest
70+
python3 -m pytest
7171
7272
- uses: codecov/codecov-action@v3
7373
if: runner.os == 'macOS'
@@ -82,7 +82,7 @@ jobs:
8282
# after_script:
8383
# - if [ $CI_TARGET = tests ]; then
8484
# set -x;
85-
# pip install coverage;
85+
# pip3 install coverage;
8686
# coverage combine;
8787
# coverage report -m;
8888
# coverage xml;

0 commit comments

Comments
 (0)