Skip to content

Commit

Permalink
chore(Actions): try working around broken setuptools 50.0.0 on CPytho…
Browse files Browse the repository at this point in the history
…n 3.5.2

More details here: pypa/setuptools#2356
  • Loading branch information
vytas7 committed Aug 31, 2020
1 parent b853f61 commit 3949bb1
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,18 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Set up Python 3.8
uses: actions/setup-python@v2
if: ${{ matrix.toxenv == 'py35' }}
with:
python-version: 3.8

- name: Set up Python 3.5.2
if: ${{ matrix.toxenv == 'py35' }}
run: |
sudo apt-get update
sudo apt-get install -y build-essential curl python3.5 python3.5-dev
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.5 10
curl -sSL https://bootstrap.pypa.io/get-pip.py -o /tmp/get-pip.py
sudo python /tmp/get-pip.py
sudo pip install coverage tox
python3.5 --version
- name: Install smoke test dependencies
if: ${{ matrix.toxenv == 'py38_smoke' || matrix.toxenv == 'py38_smoke_cython' }}
Expand All @@ -100,6 +103,7 @@ jobs:
python --version
pip --version
tox --version
coverage --version
- name: Run tests
run: tox -e ${{ matrix.toxenv }}
Expand Down

0 comments on commit 3949bb1

Please sign in to comment.