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

Update to webrpc@v0.10.0 test suite #5

Merged
merged 3 commits into from
Dec 31, 2022

Conversation

VojtechVitek
Copy link
Contributor

@VojtechVitek VojtechVitek commented Dec 30, 2022

Comment on lines -3 to -8
test:
webrpc-test -print-schema > ./tests/api.ridl
webrpc-gen -schema=$(shell pwd)/tests/api.ridl -target=typescript -client -out=$(shell pwd)/tests/client.ts
webrpc-test -server -port $(PORT) -timeout=5s &
until nc -z localhost $(PORT); do sleep 0.2; done;
cd tests && PORT=$(PORT) npm run test
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved to test.sh

Comment on lines -28 to -33
mkdir -p bin
curl -L -o webrpc-test https://github.com/webrpc/webrpc/releases/download/${{ matrix.webrpc-gen }}/webrpc-test.linux-amd64
curl -L -o webrpc-gen https://github.com/webrpc/webrpc/releases/download/${{ matrix.webrpc-gen }}/webrpc-gen.linux-amd64
chmod +x webrpc-test
chmod +x webrpc-gen
mv -t bin/ webrpc-test webrpc-gen
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved to download.sh

@VojtechVitek
Copy link
Contributor Author

Screen Shot 2022-12-31 at 1 09 13 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant