Skip to content

Commit

Permalink
try restrict setuptool in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
auvipy committed Dec 22, 2021
1 parent b71b421 commit c4a8c2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install --upgrade pip setuptools wheel tox tox-docker
run: pip install --upgrade pip 'setuptools<59.7.0' wheel tox tox-docker
- name: Run unittest
run: tox -v -e ${{ matrix.python-version }}-linux-unit -- -v
#################### Integration tests ####################
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install --upgrade pip setuptools wheel tox tox-docker
run: pip install --upgrade pip 'setuptools<59.7.0' wheel tox tox-docker
# Tox fails if a Python versions contains a hyphen, this changes "pypy-3.8" to "pypy3.8".
- name: Determine Python version
run: echo PYTHON_VERSION=$(echo ${{ matrix.python-version }} | sed s/-//) >> $GITHUB_ENV
Expand All @@ -74,7 +74,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install --upgrade pip setuptools wheel tox tox-docker
run: pip install --upgrade pip 'setuptools<59.7.0' wheel tox tox-docker
- name: Run flake8
run: tox -v -e flake8 -- -v
- name: Run pydocstyle
Expand Down

0 comments on commit c4a8c2a

Please sign in to comment.