home-assistant: limit tests to Linux

wip/yesman
Jörg Thalheim 4 years ago
parent ee8cde8d1c
commit 4dd83ab601
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92
  1. 5
      pkgs/servers/home-assistant/default.nix

@ -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
, extraComponents ? [ ]
@ -98,6 +98,9 @@ in with py.pkgs; buildPythonApplication rec {
sqlalchemy aiohttp-cors hass-frontend pyotp pyqrcode ciso8601
] ++ componentBuildInputs ++ extraBuildInputs;
# upstream only tests on Linux, so do we.
doCheck = stdenv.isLinux;
checkInputs = [
asynctest pytest pytest-aiohttp requests-mock hass-nabucasa netdisco pydispatcher
];

Loading…
Cancel
Save