Skip to content

Commit

Permalink
split up CI steps for troubleshooting, update sphinx version
Browse files Browse the repository at this point in the history
  • Loading branch information
engn33r committed Jul 29, 2023
1 parent 6cdb982 commit 63b3a08
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,17 @@ jobs:
run: |
pip3 install -U websockets asyncio
python3 websocket/tests/echo-server.py &
- name: Build websocket-client & run tests
- name: Install build tools and print setuptools version
run: |
pip3 install -U pip setuptools wheel readme_renderer twine pytest python-socks
python3 -c "import setuptools; print('Setup tools version'); print(setuptools.__version__)"
- name: Run tests
run: |
pytest websocket/tests -v -rP
python3 setup.py sdist
twine check dist/*
env:
TEST_WITH_INTERNET: 1
LOCAL_WS_SERVER_PORT: 8765
- name: Run distutils and confirm build of websocket-client
run: |
python3 setup.py sdist
twine check dist/*
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
extras_require={
"test": ["websockets"],
"optional": ["python-socks", "wsaccel"],
"docs": ["Sphinx >= 3.4", "sphinx_rtd_theme >= 0.5"],
"docs": ["Sphinx >= 6.0", "sphinx_rtd_theme >= 1.1.0"],
},
classifiers=[
"Development Status :: 4 - Beta",
Expand Down

0 comments on commit 63b3a08

Please sign in to comment.