Skip to content

Commit

Permalink
Fix Python 2.7 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmunoznovoa committed Oct 13, 2023
1 parent 0fa4163 commit e24f2f0
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/python2.7-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,15 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up Python 2.7
uses: actions/setup-python@v2
with:
python-version: "2.7"
- name: Install Python 2.7
run: |
sudo apt update
sudo apt install python2 python-pip
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 2
printf '1\n' | sudo update-alternatives --config python
cd /usr/bin
sudo ln -s /usr/bin/pip2 ./pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down

0 comments on commit e24f2f0

Please sign in to comment.