Skip to content

Commit

Permalink
feat: #3 fix filteredOperations argument
Browse files Browse the repository at this point in the history
  • Loading branch information
lbroudoux committed Aug 10, 2023
1 parent 4cad3d3 commit dacfffc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ And some optional ones:

* `--waitFor` for the time to wait for test to finish (int + one of: milli, sec, min). Default is `5sec`,
* `--secretName='<Secret Name>'` is an optional flag specifying the name of a Secret to use for connecting endpoint,
* `--filteredOperations=<JSON>` allows to filter a list of operations to launch a test for,
* `--operationsHeaders=<JSON>` allows to override some operations headers for the tests to launch.

### How to use it?
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ inputs:
description: 'The name of a Secret to use for connecting test endpoint'
required: false
default: ''
filterOperations:
filteredOperations:
description: 'JSON that allows to filter a list of operations to launch a test for'
required: false
default: ''
Expand All @@ -47,7 +47,7 @@ runs:
microcks-cli test '${{ inputs.apiNameAndVersion }}' ${{ inputs.testEndpoint }} ${{ inputs.runner }} \
--microcksURL=${{ inputs.microcksURL }} --waitFor=${{ inputs.waitFor }} --secretName='${{ inputs.secretName }}' \
--keycloakClientId=${{ inputs.keycloakClientId }} --keycloakClientSecret=${{ inputs.keycloakClientSecret }} \
--insecure --filterOperations='${{ inputs.filterOperations }}' --operationsHeaders='${{ inputs.operationsHeaders }}'
--insecure --filteredOperations='${{ inputs.filterOperations }}' --operationsHeaders='${{ inputs.operationsHeaders }}'
branding:
icon: 'upload-cloud'
color: 'blue'

0 comments on commit dacfffc

Please sign in to comment.