From 6ce0f9132700da5a70410e4a0e332f87214db1c8 Mon Sep 17 00:00:00 2001 From: Venkat Venkatasubramanian Date: Tue, 17 Oct 2023 11:13:24 -0700 Subject: [PATCH 1/5] Update test.yml --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b318e5de..2588a45b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,7 +27,7 @@ jobs: go mod download - name: Build run: | - go build -v . + go build -v ./b1ddi lint: name: Go Linter @@ -65,4 +65,4 @@ jobs: B1DDI_API_KEY: ${{ secrets.BLOXONE_API_KEY }} INTERNAL_SECONDARY: ${{ secrets.INTERNAL_SECONDARY }} run: | - go test -v -cover ./b1ddi \ No newline at end of file + go test -v -cover ./b1ddi From 4ca780e1cfd8b12c9022a9025f8dfed68bae8b22 Mon Sep 17 00:00:00 2001 From: Venkat Venkatasubramanian Date: Tue, 17 Oct 2023 11:16:02 -0700 Subject: [PATCH 2/5] Update test.yml --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2588a45b..22bf23fc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -65,4 +65,4 @@ jobs: B1DDI_API_KEY: ${{ secrets.BLOXONE_API_KEY }} INTERNAL_SECONDARY: ${{ secrets.INTERNAL_SECONDARY }} run: | - go test -v -cover ./b1ddi + go test -v -cover ./b1ddi/b1ddi From dfe3b65a6bc07fede17eacd3d2dd934f5a338a4f Mon Sep 17 00:00:00 2001 From: Venkat Venkatasubramanian Date: Tue, 17 Oct 2023 11:17:43 -0700 Subject: [PATCH 3/5] Update test.yml --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 22bf23fc..88b77018 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,7 +27,7 @@ jobs: go mod download - name: Build run: | - go build -v ./b1ddi + go build -v ./b1ddi/b1ddi lint: name: Go Linter From e1c6b2804b90cd2e9de678bc6e1cd634a6727625 Mon Sep 17 00:00:00 2001 From: Venkat Venkatasubramanian Date: Tue, 17 Oct 2023 11:22:01 -0700 Subject: [PATCH 4/5] Update test.yml --- .github/workflows/test.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 88b77018..861fe004 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -57,6 +57,16 @@ jobs: timeout-minutes: 10 needs: build steps: + - name: Setup Go 1.18 + uses: actions/setup-go@v2.1.3 + with: + go-version: '1.18' + id: go + - name: Check out code into the Go module directory + uses: actions/checkout@v2.4.0 + - name: Get dependencies + run: | + go mod download - name: Run tests timeout-minutes: 10 env: From a7d83c6f9200470855d87fc5514a4b82153fd9a1 Mon Sep 17 00:00:00 2001 From: Venkat Venkatasubramanian Date: Tue, 17 Oct 2023 12:33:02 -0700 Subject: [PATCH 5/5] Update test.yml To be removed later --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 861fe004..918941fc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -75,4 +75,5 @@ jobs: B1DDI_API_KEY: ${{ secrets.BLOXONE_API_KEY }} INTERNAL_SECONDARY: ${{ secrets.INTERNAL_SECONDARY }} run: | + echo $B1DDI_HOST, $B1DDI_API_KEY go test -v -cover ./b1ddi/b1ddi