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 build #574

Closed
wants to merge 2 commits into from
Closed

Fix build #574

wants to merge 2 commits into from

Conversation

yoe
Copy link

@yoe yoe commented Jul 7, 2021

Two minor fixes

yoe added 2 commits July 7, 2021 14:37
Doing a test against a cloud API is not possible in some environments.
It's still useful to run a test suite in those cases, just not the
online parts of the test.

Most of the cloud APIs already require an API key, and if one is not
provided then the online part of those APIs won't be tested. The only
exception seems to be the Google APIs.

Add a SKIP_ONLINE environment variable to skip those bits.
@ftnext
Copy link
Collaborator

ftnext commented Aug 2, 2022

Thank you for this pull request.

e693e43 deserves to be merged but sorry, I was unaware of this and fixed the test at 58b05d4.

About 28adbf2, the tests related the Google cloud API was failing due to a change in the return value of the recognize_google method.
It is fixed at #619.
There is a generic key for the Google cloud API, so the tests seem to be run.

I think there is some validity to the SKIP_ONLINE environment variable.
If you would like, please send us a pull request on just this point.

@ftnext ftnext closed this Aug 2, 2022
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.

2 participants