forked from kevadesu/forgejo
[CLI] implement forgejo-cli actions register
(cherry picked from commit 2f95143000
)
This commit is contained in:
parent
e085d6d273
commit
42f2f8731e
9 changed files with 517 additions and 7 deletions
18
models/actions/main_test.go
Normal file
18
models/actions/main_test.go
Normal file
|
@ -0,0 +1,18 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
|
||||
package actions_test
|
||||
|
||||
import (
|
||||
"path/filepath"
|
||||
"testing"
|
||||
|
||||
"code.gitea.io/gitea/models/unittest"
|
||||
|
||||
_ "code.gitea.io/gitea/models"
|
||||
)
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
unittest.MainTest(m, &unittest.TestOptions{
|
||||
GiteaRootPath: filepath.Join("..", ".."),
|
||||
})
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue