Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GHA ubuntu image to include python 2.7 #3669

Merged
merged 12 commits into from
Aug 2, 2023
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@v2
- uses: niden/actions-memcached@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: MatteoH2O1999/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Prepare for Installing Dependencies
Expand All @@ -56,4 +56,3 @@ jobs:
with:
fail_ci_if_error: true
verbose: true

1 change: 1 addition & 0 deletions deploy/travis/before_install
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ if [ $(echo "$(lsb_release -rs) > 20" | bc) -eq 1 ]; then
fi
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
sudo python2 get-pip.py
sudo python2 -m pip install --upgrade pip==20.1
1 change: 1 addition & 0 deletions deploy/travis/install
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
set -euf -o pipefail

if [ "$TRAVIS_JOB" = "test" ]; then
sudo apt-get remove -y libhashkit2
sudo apt-get install -y $(cat esp/packages_base.txt | grep -v ^memcached | grep -v ^postgres | grep -v ^libpq-dev | grep -v ^.*pip)
esp/packages_base_manual_install.sh
pip2 install -r esp/requirements.txt -q --log pip.log || (tail pip.log && exit 1)
Expand Down
3 changes: 3 additions & 0 deletions esp/packages_base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ libc-ares2
libev4
git-core
libfreetype6-dev
libhashkit-dev
libhashkit2
libmemcached11
Loading