Fix tests and generate mocks (#4384)

This commit is contained in:
Nikola Jokic
2026-02-24 13:36:01 +01:00
committed by GitHub
parent 9de09f56eb
commit c6e4c94a6a
20 changed files with 2360 additions and 809 deletions
+29
View File
@@ -0,0 +1,29 @@
all: false
packages:
github.com/actions/actions-runner-controller/github/actions:
config:
inpackage: true
interfaces:
ActionsService:
SessionService:
github.com/actions/actions-runner-controller/cmd/ghalistener/metrics:
config:
dir: "{{.InterfaceDir}}/mocks"
pkgname: mocks
filename: "{{.InterfaceName|snakecase}}.go"
interfaces:
Publisher:
ServerExporter:
config:
structname: ServerPublisher
filename: server_publisher.go
github.com/actions/actions-runner-controller/cmd/ghalistener/app:
config:
dir: "{{.InterfaceDir}}/mocks"
pkgname: mocks
filename: "{{.InterfaceName|snakecase}}.go"
interfaces:
Listener:
Worker: