This pull request includes several changes to the CI/CD workflows and test configurations, primarily aimed at simplifying the setup and improving the maintainability of the codebase. The most important changes include removing unused configurations, adjusting test commands, and updating the provider configuration for tests.
CI/CD Workflow Improvements:
.github/workflows/run_tests.yml: Removed the concurrency group and the unused TF_CLI_CONFIG_FILE environment variable. Adjusted the test command to remove the -failfast flag. [1][2][3]
.github/workflows/terraform_provider.yml: Removed the paths-ignore for README.md and adjusted the unit test command to remove the -failfast flag. Removed commented-out acceptance test and linter steps. [1][2][3]
This pull request includes several changes to the CI/CD workflows and test configurations, primarily aimed at simplifying the setup and improving the maintainability of the codebase. The most important changes include removing unused configurations, adjusting test commands, and updating the provider configuration for tests.
CI/CD Workflow Improvements:
.github/workflows/run_tests.yml
: Removed theconcurrency
group and the unusedTF_CLI_CONFIG_FILE
environment variable. Adjusted the test command to remove the-failfast
flag. [1] [2] [3].github/workflows/terraform_provider.yml
: Removed thepaths-ignore
forREADME.md
and adjusted the unit test command to remove the-failfast
flag. Removed commented-out acceptance test and linter steps. [1] [2] [3]Codebase Simplification:
internal/powerplatform/constants/constants.go
: Removed unused test provider configurations.internal/powerplatform/provider/provider.go
: Added a conditional check forTestMode
in the provider configuration to avoid sending authentication requests during tests.Test Configuration Updates:
constants.TestsUnitProviderConfig
andconstants.TestsAcceptanceProviderConfig
in test configurations. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21]