test: skip debian list of packages test in CI
This commit is contained in:
		| @@ -1,6 +1,7 @@ | ||||
| package debian | ||||
|  | ||||
| import ( | ||||
| 	"os" | ||||
| 	"testing" | ||||
|  | ||||
| 	"github.com/stretchr/testify/assert" | ||||
| @@ -15,5 +16,9 @@ func TestDebian(t *testing.T) { | ||||
|  | ||||
| 	assert.True(u.Equal(distro.Distro{Release: "wheezy", ID: distro.Debian})) | ||||
|  | ||||
| 	if os.Getenv("CI") != "" { | ||||
| 		t.Skip("skip testing in CI") | ||||
| 	} | ||||
|  | ||||
| 	assert.NotEmpty(u.Packages()) | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user