Skip to content

Commit

Permalink
- revert workflow changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Jul 5, 2023
1 parent f64b8f3 commit 1f5169f
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
os:
- ["ubuntu", "ubuntu-latest"]
- ["ubuntu", "ubuntu-20.04"]
config:
# [Python version, tox env]
- ["3.9", "lint"]
Expand Down Expand Up @@ -53,20 +53,10 @@ jobs:
name: ${{ matrix.config[1] }}
steps:
- uses: actions/checkout@v3
- name: Set up Python (${{ matrix.config[0] }})
if: matrix.config[0] != '2.7'
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.config[0] }}
- name: Set up Python (${{ matrix.config[0] }})
if: matrix.config[0] == '2.7'
run: |
sudo apt-get update
sudo apt-get install -y python2.7 python2.7-dev python2-pip-whl
sudo ln -sf python2.7 /usr/bin/python
export PYTHONPATH=`echo /usr/share/python-wheels/pip-*py2*.whl`
sudo --preserve-env=PYTHONPATH python -m pip install --upgrade pip setuptools wheel
sudo chown -R $USER /usr/local/lib/python2.7
- name: Pip cache
uses: actions/cache@v3
with:
Expand Down

0 comments on commit 1f5169f

Please sign in to comment.