Merge pull request #334391 from abysssol/ollama-test-condition
ollama: only run service test on linux
This commit is contained in:
commit
d2e71921a2
@ -213,7 +213,6 @@ goBuild (
|
|||||||
passthru.tests =
|
passthru.tests =
|
||||||
{
|
{
|
||||||
inherit ollama;
|
inherit ollama;
|
||||||
service = nixosTests.ollama;
|
|
||||||
version = testers.testVersion {
|
version = testers.testVersion {
|
||||||
inherit version;
|
inherit version;
|
||||||
package = ollama;
|
package = ollama;
|
||||||
@ -221,6 +220,7 @@ goBuild (
|
|||||||
}
|
}
|
||||||
// lib.optionalAttrs stdenv.isLinux {
|
// lib.optionalAttrs stdenv.isLinux {
|
||||||
inherit ollama-rocm ollama-cuda;
|
inherit ollama-rocm ollama-cuda;
|
||||||
|
service = nixosTests.ollama;
|
||||||
service-cuda = nixosTests.ollama-cuda;
|
service-cuda = nixosTests.ollama-cuda;
|
||||||
service-rocm = nixosTests.ollama-rocm;
|
service-rocm = nixosTests.ollama-rocm;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user