Skip to content

Commit

Permalink
Force py2.7 into env
Browse files Browse the repository at this point in the history
  • Loading branch information
richardkiss committed Dec 1, 2024
1 parent 574a52e commit 525a575
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,20 @@ jobs:
with:
fetch-depth: 0

- name: Set up Python 2.7
run: |
sudo apt-get update
sudo apt-get install -y software-properties-common
sudo add-apt-repository universe
sudo apt-get install -y python2
python2 --version
- name: Install pip for Python 2.7
run: |
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py
sudo python2 get-pip.py
python2 -m pip --version
- name: Setup Python environment
uses: actions/setup-python@v2
with:
Expand Down

0 comments on commit 525a575

Please sign in to comment.