Skip to content

Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.10.1 to 2.31.0 #201

Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.10.1 to 2.31.0

Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.10.1 to 2.31.0 #201

Workflow file for this run

name: test
on:
push:
branches:
- '**'
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.2.0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.16.x
- run: make test
acctest:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.2.0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.16.x
- uses: actions/cache@v3.3.1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go
- name: Bring up kafka + zk
run: docker-compose up -d
- name: "Run tests"
run: |
export PATH=$PATH:$(go env GOPATH)/bin # temporary fix. See https://github.com/actions/setup-go/issues/14
go install github.com/jstemmer/go-junit-report
trap "go-junit-report < go-test.out > go-test-report.xml" EXIT
make testacc | tee go-test.out
- name: Upload test results
uses: actions/upload-artifact@v2.3.1
with:
name: acc-test-results.xml
path: go-test-report.xml
# Use always() to always run this step to publish test results when there are test failures
if: always()