mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 05:37:27 +03:00
forgejo-runner: add nixos/forgejo
VM test to passthru.tests
`nixos/forgejo` tests both the runner registration and a simple workflow now :).
This commit is contained in:
parent
117a1a6a2c
commit
1ec3a5a4d5
@ -3,6 +3,7 @@
|
||||
, fetchFromGitea
|
||||
, testers
|
||||
, forgejo-runner
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@ -27,9 +28,12 @@ buildGoModule rec {
|
||||
|
||||
doCheck = false; # Test try to lookup code.forgejo.org.
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = forgejo-runner;
|
||||
version = src.rev;
|
||||
passthru.tests = {
|
||||
inherit (nixosTests.forgejo) sqlite3;
|
||||
version = testers.testVersion {
|
||||
package = forgejo-runner;
|
||||
version = src.rev;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user