Closed SarahFrench closed 8 months ago
This issue is like a cousin of https://github.com/hashicorp/terraform-provider-google/issues/17168, but neither blocks the other.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Background
There are automated tests for the TeamCity configuration but they can only be run locally by developers. We should automate running these tests to prevent bugs entering the code.
The Azure provider has pre-existing GHAs for running TeamCity tests, so we can take a lot of inspiration from them:
We should make this GHA run on PRs where files in
mmv1/third_party/terraform/.teamcity
are edited.What kind of contribution is this issue about?
Related PR(s), if any:
Details
We don't need to generate the downstream provider to run these tests - we can run them directly in
mmv1/third_party/terraform/.teamcity
. This will continue to be true as long as those files aren't compiled (currently they're all copied unchanged into the TPG repo, and not TPGB).