Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mediaminister committed Oct 1, 2024
1 parent 1dcc67f commit 6faadf8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
env:
PIP_TRUSTED_HOST: ${{ contains(fromJson('["3.5"]'), matrix.python-version) && env.PYPI-HOSTS || '' }}
PIP_TRUSTED_HOST: ${{ contains(fromJSON('["3.5"]'), matrix.python-version) && env.PYPI-HOSTS || '' }}
- name: Install dependencies (linux)
if: contains(matrix.os, 'ubuntu')
run: |
Expand All @@ -67,10 +67,10 @@ jobs:
# Python 2.7 and Python 3.5 are no longer supported by proxy.py
- name: Start proxy server, when supported (linux)
run: python -m proxy --hostname 127.0.0.1 --log-level DEBUG &
if: contains(fromJson('["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]'), matrix.python-version) && contains(matrix.os, 'ubuntu')
if: contains(fromJSON('["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]'), matrix.python-version) && contains(matrix.os, 'ubuntu')
- name: Start proxy server, when supported (windows)
run: Start-Process python -ArgumentList '-m proxy --hostname 127.0.0.1 --log-level DEBUG'
if: contains(fromJson('["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]'), matrix.python-version) && contains(matrix.os, 'windows')
if: contains(fromJSON('["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]'), matrix.python-version) && contains(matrix.os, 'windows')
- name: Run unit tests
run: coverage run -m unittest discover
env:
Expand Down
1 change: 1 addition & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ disable=
super-with-arguments,
too-few-public-methods,
too-many-arguments,
too-many-positional-arguments,
too-many-branches,
too-many-function-args,
too-many-instance-attributes,
Expand Down

0 comments on commit 6faadf8

Please sign in to comment.