Skip to content

Commit

Permalink
Use link to python2 instead of python-is-python2 package
Browse files Browse the repository at this point in the history
force-test skip-release
  • Loading branch information
Taapat authored Sep 8, 2023
1 parent f5a1e6e commit 7bd40ad
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
test-python:
needs: check_source
if: needs.check_source.outputs.python-changed == 'true' || contains(github.event.head_commit.message,'force-test')
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['2.7', '3.11']
Expand All @@ -82,7 +82,8 @@ jobs:
- name: Set up Python 2
if: matrix.python-version == '2.7'
run: |
sudo apt-get install -y python2 python-is-python2
sudo apt-get install -y python2
ln -sf /usr/bin/python2 /usr/bin/python
curl -L -O "https://bootstrap.pypa.io/pip/2.7/get-pip.py"
python get-pip.py
- name: Install dependencies
Expand Down Expand Up @@ -114,7 +115,7 @@ jobs:
test-gui:
needs: test-python
if: always() && (github.event_name == 'schedule' && github.ref == 'refs/heads/master') || ((needs.check_source.outputs.gui-changed == 'true' || contains(github.event.head_commit.message,'force-test')) && (needs.test-python.result == 'success' || needs.test-python.result == 'skipped'))
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
enigma2-version: ['OpenPLi develop 3.10', 'OpenPLi release-8.3 2.7', 'OpenPLi release-6.2 2.7', 'openatv master 3.11', 'openatv 6.4 2.7', 'OpenViX Developer 3.10', 'Taapat bh 2.7']
Expand Down Expand Up @@ -146,7 +147,8 @@ jobs:
- name: Set up Python 2
if: steps.split.outputs._2 == '2.7'
run: |
sudo apt-get install -y python2 python-is-python2
sudo apt-get install -y python2
ln -sf /usr/bin/python2 /usr/bin/python
curl -L -O "https://bootstrap.pypa.io/pip/2.7/get-pip.py"
python get-pip.py
- name: Install dependencies
Expand Down

0 comments on commit 7bd40ad

Please sign in to comment.