mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
chore(tests): add mockery and instructions to use it (#651)
- Add the missing `make generate` target and the tool to make it work - The release build process only depends on `make build` and not on any `make release*` target, remove them all Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/651 Reviewed-by: Michael Kriese <michael.kriese@gmx.de> Co-authored-by: Earl Warren <contact@earl-warren.org> Co-committed-by: Earl Warren <contact@earl-warren.org>
This commit is contained in:
parent
51e0bc0e53
commit
310335e6ab
2 changed files with 16 additions and 44 deletions
|
@ -30,6 +30,13 @@ The Forgejo runner depends on [a fork of ACT](https://code.forgejo.org/forgejo/a
|
|||
|
||||
The [test workflow](.forgejo/workflows/test.yml) is a full example that builds the binary, runs the tests and launches the runner binary against a live Forgejo instance.
|
||||
|
||||
## Generate mocks
|
||||
|
||||
- `make deps-tools`
|
||||
- `make generate`
|
||||
|
||||
If there are changes, commit them to the repository.
|
||||
|
||||
## Local debug
|
||||
|
||||
The repositories are checked out in the same directory:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue