Update unit-tests.yml #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 mod tidy && go test -v -tags=unit_tests ./... |