Skip to content
New issue

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

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

Already on GitHub? # to your account

Document CI integration and testsuite Docker usage #125

Open
ioquatix opened this issue Feb 3, 2023 · 3 comments
Open

Document CI integration and testsuite Docker usage #125

ioquatix opened this issue Feb 3, 2023 · 3 comments

Comments

@ioquatix
Copy link

ioquatix commented Feb 3, 2023

It would be good to have instructions about how to use this with GitHub Actions.

@ioquatix
Copy link
Author

ioquatix commented Feb 3, 2023

I could not get the instructions to work without explicitly specifying the spec file:

docker run -it --rm -v "$(pwd)/config:/config" -v "$(pwd)/reports:/reports" -p 9001 --name wstest crossbario/autobahn-testsuite wstest -m fuzzingclient -s /config/fuzzingclient.json

Even thought config/fuzzingclient.json exists, without -s /config/fuzzingclient.json it won't load it.

@oberstet
Copy link
Contributor

oberstet commented Feb 4, 2023

@ioquatix
Copy link
Author

ioquatix commented Feb 4, 2023

I figured out how to do it:

Here is the actions file: https://github.com/socketry/protocol-websocket/blob/main/.github/workflows/autobahn-server-tests.yaml

Here is the executable that runs docker and the tests:

https://github.com/socketry/protocol-websocket/blob/58f0d15c6c5b44d224fd7a6eb237ce331bd8a587/autobahn-tests/autobahn-server-tests.rb

@ioquatix ioquatix closed this as completed Feb 4, 2023
@oberstet oberstet changed the title Documentation about how to use with GitHub Actions Document CI integration and testsuite Docker usage Feb 4, 2023
@oberstet oberstet reopened this Feb 4, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants