mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 07:19:41 +02:00
import libhelm into portainer (#8128)
This commit is contained in:
parent
241440a474
commit
d2f6d1e415
32 changed files with 1305 additions and 5 deletions
13
api/pkg/libhelm/libhelmtest/integration.go
Normal file
13
api/pkg/libhelm/libhelmtest/integration.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package libhelmtest
|
||||
|
||||
import (
|
||||
"os"
|
||||
"testing"
|
||||
)
|
||||
|
||||
// EnsureIntegrationTest disables live integration tests that prevent portainer CI checks from succeeding on github
|
||||
func EnsureIntegrationTest(t *testing.T) {
|
||||
if _, ok := os.LookupEnv("INTEGRATION_TEST"); !ok {
|
||||
t.Skip("skip an integration test")
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue