Skip to content

Commit

Permalink
manually install python 2.7 in action
Browse files Browse the repository at this point in the history
Python 2.7 got deprecated on actions/setup-python

Issue: CLDSRV-400
  • Loading branch information
Kerkesni committed Jun 21, 2023
1 parent 2cd5200 commit aab13ce
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/actions/setup-ci/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,14 @@ runs:
key: ${{ runner.os }}-pip
- uses: actions/setup-python@v4
with:
python-version: |
2.7
3.9
python-version: '3.9'
- name: Install python deps
shell: bash
run: pip install docker-compose
- name: Setup python2 test environment
shell: bash
run: |
sudo apt-get install -y libdigest-hmac-perl
sudo apt-get install -y libdigest-hmac-perl python2
pip install virtualenv==20.21.0
virtualenv -p $(which python2) ~/.virtualenv/py2
source ~/.virtualenv/py2/bin/activate
Expand Down

0 comments on commit aab13ce

Please sign in to comment.