diff --git a/.github/workflows/go-test-darwin.yaml b/.github/workflows/go-test-darwin.yaml index fc156ba..553f249 100644 --- a/.github/workflows/go-test-darwin.yaml +++ b/.github/workflows/go-test-darwin.yaml @@ -7,12 +7,13 @@ permissions: jobs: go-test-darwin: - name: "go test with OS: ${{ matrix.os }}; Go: ${{ matrix.go }}" + name: "go test with Senzing: ${{ matrix.senzingapi-version }}; OS: ${{ matrix.os }}; Go: ${{ matrix.go }}" runs-on: ${{ matrix.os }} strategy: matrix: go: ["1.21"] os: [macos-13] + senzingapi-version: [staging-v4] steps: - name: checkout repository @@ -25,6 +26,11 @@ jobs: with: go-version: ${{ matrix.go }} + - name: install Senzing API + uses: senzing-factory/github-action-install-senzing-api@v3 + with: + senzingapi-version: ${{ matrix.senzingapi-version }} + - name: run go test run: go test -v -p 1 -coverprofile=./cover.out -covermode=atomic -coverpkg=./... ./... diff --git a/.github/workflows/go-test-linux.yaml b/.github/workflows/go-test-linux.yaml index a016aa1..df2d2c4 100644 --- a/.github/workflows/go-test-linux.yaml +++ b/.github/workflows/go-test-linux.yaml @@ -7,12 +7,13 @@ permissions: jobs: go-test-linux: - name: "go test with OS: ${{ matrix.os }}; Go: ${{ matrix.go }}" + name: "go test with Senzing: ${{ matrix.senzingapi-version }}; OS: ${{ matrix.os }}; Go: ${{ matrix.go }}" runs-on: ${{ matrix.os }} strategy: matrix: go: ["1.21"] os: [ubuntu-latest] + senzingapi-version: [staging-v4] steps: - name: checkout repository @@ -25,6 +26,11 @@ jobs: with: go-version: ${{ matrix.go }} + - name: install Senzing API + uses: senzing-factory/github-action-install-senzing-api@v3 + with: + senzingapi-runtime-version: ${{ matrix.senzingapi-version }} + - name: run go test run: go test -v -p 1 -coverprofile=./cover.out -covermode=atomic -coverpkg=./... ./... diff --git a/.github/workflows/go-test-windows.yaml b/.github/workflows/go-test-windows.yaml index 0b0a01d..c39b4c5 100644 --- a/.github/workflows/go-test-windows.yaml +++ b/.github/workflows/go-test-windows.yaml @@ -7,12 +7,13 @@ permissions: jobs: go-test-windows: - name: "go test with OS: ${{ matrix.os }}; Go: ${{ matrix.go }}" + name: "go test with Senzing: ${{ matrix.senzingapi-version }}; OS: ${{ matrix.os }}; Go: ${{ matrix.go }}" runs-on: ${{ matrix.os }} strategy: matrix: go: ["1.21"] os: [windows-latest] + senzingapi-version: [staging-v4] steps: - name: checkout repository @@ -25,6 +26,11 @@ jobs: with: go-version: ${{ matrix.go }} + - name: install Senzing API + uses: senzing-factory/github-action-install-senzing-api@v3 + with: + senzingapi-version: ${{ matrix.senzingapi-version }} + - name: run go test run: | go test -v -p 1 -coverprofile=cover -covermode=atomic -coverpkg=./... ./...