Unverified Commit 1ec3a5a4 authored by emilylange's avatar emilylange
Browse files

forgejo-runner: add `nixos/forgejo` VM test to `passthru.tests`

`nixos/forgejo` tests both the runner registration and a simple
workflow now :).
parent 117a1a6a
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
, fetchFromGitea
, testers
, forgejo-runner
, nixosTests
}:

buildGoModule rec {
@@ -27,10 +28,13 @@ buildGoModule rec {

  doCheck = false; # Test try to lookup code.forgejo.org.

  passthru.tests.version = testers.testVersion {
  passthru.tests = {
    inherit (nixosTests.forgejo) sqlite3;
    version = testers.testVersion {
      package = forgejo-runner;
      version = src.rev;
    };
  };

  meta = with lib; {
    description = "A runner for Forgejo based on act";