Skip to content

Commit

Permalink
feat: Allow to run ACC tests from branch (#191)
Browse files Browse the repository at this point in the history
## Motivation

Allow to run ACC tests from branch on demand.

Co-authored-by: Mateusz Hawrus <48822818+nieomylnieja@users.noreply.github.com>
  • Loading branch information
nobl9-adam-szymanski and nieomylnieja authored Mar 6, 2024
1 parent 64ff147 commit f8b3fd9
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/acc-tests-dispatch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Acceptance tests dispatch
on:
workflow_dispatch:
inputs:
clientId:
description: Client ID to use for authentication
required: true
type: string
clientSecret:
description: Client secret to use for authentication
type: string
required: true
ref:
description: Reference branch, tag or commit SHA to checkout
required: true
type: string
default: main
oktaOrgUrl:
description: Okta organization URL
required: false
type: string
oktaAuthServer:
description: Okta authentication server identifier
required: false
type: string
project:
description: Project name to create the tested objects in
required: false
type: string
default: default
jobs:
test:
uses: ./.github/workflows/acc-tests.yml
with:
clientId: "${{ inputs.clientId }}"
ref: "${{ inputs.ref }}"
oktaOrgUrl: "${{ inputs.oktaOrgUrl }}"
oktaAuthServer: "${{ inputs.oktaAuthServer }}"
project: "${{ inputs.project }}"
secrets:
clientSecret: "${{ inputs.clientSecret }}"

0 comments on commit f8b3fd9

Please sign in to comment.