diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 3fdc5a952c..4e22e03377 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -60,7 +60,10 @@ jobs: - name: "Unit tests" run: | - go test ./... + # We run tests for all packages from all modules in this repository. + for dir in $(go list -m -f '{{.Dir}}' github.com/hashicorp/terraform/...); do + (cd $dir && go test "./...") + done race-tests: name: "Race Tests"