diff --git a/distro/debian/debian_test.go b/distro/debian/debian_test.go index be0b71a..3d3f5a3 100644 --- a/distro/debian/debian_test.go +++ b/distro/debian/debian_test.go @@ -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()) }