test: skip debian list of packages test in CI
This commit is contained in:
parent
75d740b22b
commit
a72d9b77de
@ -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())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user