mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 23:03:34 +01:00
tests(e2e): only run one test, not all of them each time
(cherry picked from commit e3665c3042
)
This commit is contained in:
parent
c5f84e4a93
commit
f3c22b5be1
1 changed files with 3 additions and 1 deletions
|
@ -103,7 +103,9 @@ func TestE2e(t *testing.T) {
|
|||
t.Run(testname, func(t *testing.T) {
|
||||
// Default 2 minute timeout
|
||||
onGiteaRun(t, func(*testing.T, *url.URL) {
|
||||
cmd := exec.Command(runArgs[0], runArgs...)
|
||||
thisTest := runArgs
|
||||
thisTest = append(thisTest, path)
|
||||
cmd := exec.Command(runArgs[0], thisTest...)
|
||||
cmd.Env = os.Environ()
|
||||
cmd.Env = append(cmd.Env, fmt.Sprintf("GITEA_URL=%s", setting.AppURL))
|
||||
|
||||
|
|
Loading…
Reference in a new issue