Skip to content

Commit

Permalink
double fromjson?
Browse files Browse the repository at this point in the history
  • Loading branch information
jyang-broad committed Feb 7, 2024
1 parent d23efd8 commit affff91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run-integration-test-dispatch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ jobs:
# jq a comma seperated string into a json array, also chomp white spaces, and then stringify. "apple, tree" -> ["apple","tree"] -> "[\"apple\",\"tree\"]"
run: |
jq --version
echo "tests=$(jq --arg tests_to_run ${{ env.TESTS_TO_RUN }} -n '$tests_to_run | gsub("\\s"; "") | split(",")' )" >> $GITHUB_OUTPUT
echo "tests=$(jq --arg tests_to_run ${{ env.TESTS_TO_RUN }} -n '$tests_to_run | gsub("\\s"; "") | split(",")' | jq '.| tostring')" >> $GITHUB_OUTPUT
# run terra-ui e2e tests, short name for better GHA readability
terraui-e2e:
needs: setup-inputs
strategy:
fail-fast: false
matrix:
tests_to_run: ${{fromjson(needs.setup-inputs.outputs.tests)}}
tests_to_run: ${{fromjson(fromjson(needs.setup-inputs.outputs.tests))}}
permissions:
contents: 'read'
id-token: 'write'
Expand Down

0 comments on commit affff91

Please sign in to comment.