mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 09:37:59 +03:00
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
|
||||
, 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…
Reference in New Issue
Block a user