Browse Source

Block running integration tests by default

Fixes #311.

Change-Id: I334b9e22e748d96a62b0c7f59690c1a998a3c802
Glenn Lewis 10 years ago
parent
commit
2128b2142d
7 changed files with 14 additions and 2 deletions
  1. +1
    -1
      tests/README.md
  2. +2
    -0
      tests/integration/activity_test.go
  3. +2
    -0
      tests/integration/issues_test.go
  4. +2
    -0
      tests/integration/misc_test.go
  5. +2
    -0
      tests/integration/pulls_test.go
  6. +3
    -1
      tests/integration/repos_test.go
  7. +2
    -0
      tests/integration/users_test.go

+ 1
- 1
tests/README.md View File

@ -29,7 +29,7 @@ be run using a dedicated test account.
Run tests using:
GITHUB_AUTH_TOKEN=XXX go test -v ./integration
GITHUB_AUTH_TOKEN=XXX go test -v -tags=integration ./integration
fields


+ 2
- 0
tests/integration/activity_test.go View File

@ -3,6 +3,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build integration
package tests
import (


+ 2
- 0
tests/integration/issues_test.go View File

@ -3,6 +3,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build integration
package tests
import "testing"


+ 2
- 0
tests/integration/misc_test.go View File

@ -3,6 +3,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build integration
package tests
import (


+ 2
- 0
tests/integration/pulls_test.go View File

@ -3,6 +3,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build integration
package tests
import "testing"


+ 3
- 1
tests/integration/repos_test.go View File

@ -3,14 +3,16 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build integration
package tests
import (
"net/http"
"reflect"
"testing"
"github.com/google/go-github/github"
"reflect"
)
func TestRepositories_CRUD(t *testing.T) {


+ 2
- 0
tests/integration/users_test.go View File

@ -3,6 +3,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build integration
package tests
import (


Loading…
Cancel
Save