home-assistant: limit tests to Linux
This commit is contained in:
parent
ee8cde8d1c
commit
4dd83ab601
@ -1,4 +1,4 @@
|
|||||||
{ lib, fetchurl, fetchFromGitHub, fetchpatch, python3, protobuf3_6
|
{ stdenv, lib, fetchurl, fetchFromGitHub, fetchpatch, python3, protobuf3_6
|
||||||
|
|
||||||
# Look up dependencies of specified components in component-packages.nix
|
# Look up dependencies of specified components in component-packages.nix
|
||||||
, extraComponents ? [ ]
|
, extraComponents ? [ ]
|
||||||
@ -98,6 +98,9 @@ in with py.pkgs; buildPythonApplication rec {
|
|||||||
sqlalchemy aiohttp-cors hass-frontend pyotp pyqrcode ciso8601
|
sqlalchemy aiohttp-cors hass-frontend pyotp pyqrcode ciso8601
|
||||||
] ++ componentBuildInputs ++ extraBuildInputs;
|
] ++ componentBuildInputs ++ extraBuildInputs;
|
||||||
|
|
||||||
|
# upstream only tests on Linux, so do we.
|
||||||
|
doCheck = stdenv.isLinux;
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
asynctest pytest pytest-aiohttp requests-mock hass-nabucasa netdisco pydispatcher
|
asynctest pytest pytest-aiohttp requests-mock hass-nabucasa netdisco pydispatcher
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user