Introduce GitHub Actions CI Workflow (#19449)

* Migrate subset of CircleCI ci workflow to GitHub Actions

Runs test-go and test-go-remote-docker with a static splitting of test packages

* [skip actions] add comment to explain the purpose of test-generate-test-package-lists.sh and what to do if it fails

* change trigger to push

---------

Co-authored-by: Kuba Wieczorek <kuba.wieczorek@hashicorp.com>
This commit is contained in:
Marc Boudreau
2023-03-06 16:57:55 -05:00
committed by GitHub
parent 9cca371d39
commit d6c71614a8
11 changed files with 683 additions and 31 deletions

View File

@@ -1,6 +1,7 @@
package server
import (
"os"
"testing"
"github.com/go-test/deep"
@@ -9,6 +10,10 @@ import (
)
func TestHCPLinkConfig(t *testing.T) {
os.Unsetenv("HCP_CLIENT_ID")
os.Unsetenv("HCP_CLIENT_SECRET")
os.Unsetenv("HCP_RESOURCE_ID")
config, err := LoadConfigFile("./test-fixtures/hcp_link_config.hcl")
if err != nil {
t.Fatalf("err: %s", err)