summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2022-09-05 07:04:18 +0100
committerGitHub <noreply@github.com>2022-09-05 14:04:18 +0800
commit8080e23c9bc4e37102f63bec36603a540ff6ea9b (patch)
tree7baf3246a3f00480d396ef2821c8167f9ae195af /tests
parent0232601734fffd13aab3930ebd2b6911eb913315 (diff)
downloadgitea-8080e23c9bc4e37102f63bec36603a540ff6ea9b.tar.gz
gitea-8080e23c9bc4e37102f63bec36603a540ff6ea9b.zip
Move go-licenses to generate and separate generate into a frontend and backend component (#21061)
The `go-licenses` make task introduced in #21034 is being run on make vendor and occasionally causes an empty go-licenses file if the vendors need to change. This should be moved to the generate task as it is a generated file. Now because of this change we also need to split generation into two separate steps: 1. `generate-backend` 2. `generate-frontend` In the future it would probably be useful to make `generate-swagger` part of `generate-frontend` but it's not tolerated with our .drone.yml Ref #21034 Signed-off-by: Andrew Thornton <art27@cantab.net> Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: delvh <dev.lh@web.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/compare_test.go1
-rw-r--r--tests/integration/cors_test.go1
-rw-r--r--tests/integration/nonascii_branches_test.go1
-rw-r--r--tests/integration/pull_compare_test.go1
-rw-r--r--tests/integration/pull_create_test.go1
-rw-r--r--tests/integration/repo_commits_search_test.go1
-rw-r--r--tests/integration/view_test.go1
7 files changed, 7 insertions, 0 deletions
diff --git a/tests/integration/compare_test.go b/tests/integration/compare_test.go
index 7642109dd9..134ae520a8 100644
--- a/tests/integration/compare_test.go
+++ b/tests/integration/compare_test.go
@@ -10,6 +10,7 @@ import (
"testing"
"code.gitea.io/gitea/tests"
+
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/cors_test.go b/tests/integration/cors_test.go
index f531801627..c702c62e48 100644
--- a/tests/integration/cors_test.go
+++ b/tests/integration/cors_test.go
@@ -9,6 +9,7 @@ import (
"testing"
"code.gitea.io/gitea/tests"
+
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/nonascii_branches_test.go b/tests/integration/nonascii_branches_test.go
index ae69506f1b..638b9a6164 100644
--- a/tests/integration/nonascii_branches_test.go
+++ b/tests/integration/nonascii_branches_test.go
@@ -11,6 +11,7 @@ import (
"testing"
"code.gitea.io/gitea/tests"
+
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/pull_compare_test.go b/tests/integration/pull_compare_test.go
index 7934b6e77c..60e69e97eb 100644
--- a/tests/integration/pull_compare_test.go
+++ b/tests/integration/pull_compare_test.go
@@ -9,6 +9,7 @@ import (
"testing"
"code.gitea.io/gitea/tests"
+
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/pull_create_test.go b/tests/integration/pull_create_test.go
index 24c73ab4e9..b5cb7877bc 100644
--- a/tests/integration/pull_create_test.go
+++ b/tests/integration/pull_create_test.go
@@ -13,6 +13,7 @@ import (
"testing"
"code.gitea.io/gitea/tests"
+
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/repo_commits_search_test.go b/tests/integration/repo_commits_search_test.go
index 75e692f0ab..83f30758a4 100644
--- a/tests/integration/repo_commits_search_test.go
+++ b/tests/integration/repo_commits_search_test.go
@@ -11,6 +11,7 @@ import (
"testing"
"code.gitea.io/gitea/tests"
+
"github.com/stretchr/testify/assert"
)
diff --git a/tests/integration/view_test.go b/tests/integration/view_test.go
index 63544dbe35..f55afb038c 100644
--- a/tests/integration/view_test.go
+++ b/tests/integration/view_test.go
@@ -9,6 +9,7 @@ import (
"testing"
"code.gitea.io/gitea/tests"
+
"github.com/stretchr/testify/assert"
)