-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CI environment variable check to import.
Using Bleak on CI will fail if `bluetoothctl` is not installed. This adds a check for the CI environment variable that is set by default in many CI environments (e.g. GitHub Actions, Travis CI, etc.). Since we aren't sure that the value will be the same on all CI platforms, we just check for the presence of the variable. The check extends the same workaround that is already in place for building on readthedocs.org.
- Loading branch information
Showing
2 changed files
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters