gitea: add passthru.tests
Reference nixos tests to execute on package upgrades.
This commit is contained in:
parent
2a9f33600c
commit
dc8231950c
@ -2,6 +2,7 @@
|
|||||||
, git, bash, gzip, openssh, pam
|
, git, bash, gzip, openssh, pam
|
||||||
, sqliteSupport ? true
|
, sqliteSupport ? true
|
||||||
, pamSupport ? true
|
, pamSupport ? true
|
||||||
|
, nixosTests
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
@ -60,6 +61,8 @@ buildGoPackage rec {
|
|||||||
|
|
||||||
goPackagePath = "code.gitea.io/gitea";
|
goPackagePath = "code.gitea.io/gitea";
|
||||||
|
|
||||||
|
passthru.tests.gitea = nixosTests.gitea;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Git with a cup of tea";
|
description = "Git with a cup of tea";
|
||||||
homepage = "https://gitea.io";
|
homepage = "https://gitea.io";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user