1
0

test: skip debian list of packages test in CI

This commit is contained in:
dump_stack() 2023-06-01 09:51:03 +00:00
parent 75d740b22b
commit a72d9b77de
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -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())
}