Skip to content

Commit

Permalink
skip SAML tests when CI runs
Browse files Browse the repository at this point in the history
  • Loading branch information
laurenolivia committed Nov 2, 2023
1 parent bf76291 commit 202866d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/test-provider-tfe/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 202866d

Please sign in to comment.