1
0
Fork 0
forked from forgejo/forgejo

[SEMVER] store SemVer in ForgejoSemVer after a database upgrade

(cherry picked from commit b7fe7cf401)
(cherry picked from commit cf339eed4f)
(cherry picked from commit 4f3a16168b)
(cherry picked from commit 6f5bbc53fc)
This commit is contained in:
Earl Warren 2023-08-08 23:55:25 +02:00
parent 64d4de2b66
commit aca42b422e
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
9 changed files with 156 additions and 2 deletions

View file

@ -0,0 +1,18 @@
// SPDX-License-Identifier: MIT
package semver
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("..", "..", ".."),
})
}