1
0
Fork 0

test: skip debian list of packages test in CI

timestamps
dump_stack() 2023-06-01 09:51:03 +00:00
parent 75d740b22b
commit a72d9b77de
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 5 additions and 0 deletions

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