diff --git a/.github/actions/test-provider-tfe/action.yml b/.github/actions/test-provider-tfe/action.yml index d2a34ad26..39cb100ca 100644 --- a/.github/actions/test-provider-tfe/action.yml +++ b/.github/actions/test-provider-tfe/action.yml @@ -43,6 +43,9 @@ inputs: enterprise: description: Test enterprise features (`hostname` must be running in ON_PREM mode) required: false + list_tests: + description: Accepts regex rules to either include or exclude specific tests from running in either CI or nightly workflows. + required: false runs: using: composite @@ -79,6 +82,7 @@ runs: index: ${{ inputs.matrix_index }} total: ${{ inputs.matrix_total }} junit-summary: ./ci-summary-provider.xml + list: ${{ inputs.list_tests }} - name: Run Tests shell: bash diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b5743447..8bd07bd01 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,6 +51,7 @@ jobs: admin_subscription_token: ${{ fromJSON(steps.tflocal.outputs.workspace-outputs-json).tfe_admin_token_by_role.subscription }} admin_support_token: ${{ fromJSON(steps.tflocal.outputs.workspace-outputs-json).tfe_admin_token_by_role.support }} admin_version_maintenance_token: ${{ fromJSON(steps.tflocal.outputs.workspace-outputs-json).tfe_admin_token_by_role.version-maintenance }} + list_tests: "!^TestAccTFESAMLSettings_omnibus" tests-combine-summaries: name: Combine Test Reports