Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
test: add a unit test to test our artifact metadata exists (#3593)
h3n4le5475eca2e53
diff --git a/helm-charts/helm_test.go b/helm-charts/helm_test.gonew file mode 100644index 0000000000..64dcacd40f--- /dev/null+++ b/helm-charts/helm_test.go@@ -0,0 +1,20 @@+package helm++import (+ "testing"++ "github.com/stretchr/testify/require"+)++// TestArtifactHub tests our artifact metadata exists.+// We provide the chart template via GitHub Pages.+func TestArtifactHub(t *testing.T) {+ metadataFilePaths := []string{+ "../docs/index.yaml",+ "../docs/bytebase-1.0.0.tgz",+ }+ a := require.New(t)+ for _, path := range metadataFilePaths {+ a.FileExists(path)+ }+}