diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml new file mode 100644 index 0000000..699684e --- /dev/null +++ b/.github/workflows/unit-tests.yml @@ -0,0 +1,15 @@ +# Terraform Provider test workflow. +name: Test + +# This GitHub action creates launch test when a commit is done +on: [push] +jobs: + run-tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v4 + with: + go-version: '1.20.0' # The Go version to download (if necessary) and use. + go-version-file: './go.mod' + - run: go test -v -tags=unit_tests ./...