Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI #184

Merged
merged 10 commits into from
Apr 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 3 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ jobs:
- 3.8
- 3.9
- "3.10"
- pypy-3.7
- "3.11"
- pypy-3.9

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
Expand All @@ -37,27 +38,3 @@ jobs:
- uses: codecov/codecov-action@v1
with:
file: ./coverage.xml

autobahn:
runs-on: ubuntu-18.04
strategy:
matrix:
side: [client, server]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install tox
run: |
python -m pip install --upgrade pip setuptools
pip install --upgrade tox
- name: Initialize tox envs
run: |
tox --parallel auto --notest -e autobahn
- name: Run autobahn
run: |
tox --parallel 0 -e autobahn
env:
SIDE: ${{ matrix.side }}
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,3 @@ coverage.xml
docs/build
build
dist

compliance/reports
compliance/auto-tests-server-config.json
compliance/auto-tests-client-config.json
compliance/autobahntestsuite-venv/
5 changes: 0 additions & 5 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
graft src/wsproto
graft compliance
graft example
graft docs
graft test
graft bench
prune docs/build
prune compliance/reports
prune compliance/auto-tests-server-config.json
prune compliance/auto-tests-client-config.json
prune compliance/autobahntestsuite-venv
include README.rst LICENSE CHANGELOG.rst tox.ini
global-exclude *.pyc *.pyo *.swo *.swp *.map *.yml *.DS_Store .coverage
31 changes: 0 additions & 31 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,37 +91,6 @@ And wsproto will issue events if the data contains any WebSocket messages or sta
Take a look at our docs for a `full list of events
<https://wsproto.readthedocs.io/en/latest/api.html#events>`!

Testing
=======

It passes the autobahn test suite completely and strictly in both client and
server modes and using permessage-deflate.

If you want to run the compliance tests, go into the compliance directory and
then to test client mode, in one shell run the Autobahn test server:

.. code-block:: console

$ wstest -m fuzzingserver -s ws-fuzzingserver.json

And in another shell run the test client:

.. code-block:: console

$ python test_client.py

And to test server mode, run the test server:

.. code-block:: console

$ python test_server.py

And in another shell run the Autobahn test client:

.. code-block:: console

$ wstest -m fuzzingclient -s ws-fuzzingclient.json


Documentation
=============
Expand Down
253 changes: 0 additions & 253 deletions compliance/run-autobahn-tests.py

This file was deleted.

Loading