diff --git a/.github/workflows/run-standalone-mfos-tests.yml b/.github/workflows/run-standalone-mfos-tests.yml index 8c8274bed..fcb7cc501 100644 --- a/.github/workflows/run-standalone-mfos-tests.yml +++ b/.github/workflows/run-standalone-mfos-tests.yml @@ -18,14 +18,14 @@ jobs: run: echo ${{ secrets.INTENT }} | sed 's/./& /g' # Run Core tests - - name: Run Core tests and create assets - env: - EVENT_NAME: ${{ github.event_name }} - GITHUB_REF: ${{ github.ref }} - PR_HEAD_REF: ${{ github.event.pull_request.head.ref }} - INTENT: ${{ secrets.INTENT }} - run: | - ./.github/workflows/utils.sh runTests core + # - name: Run Core tests and create assets + # env: + # EVENT_NAME: ${{ github.event_name }} + # GITHUB_REF: ${{ github.ref }} + # PR_HEAD_REF: ${{ github.event.pull_request.head.ref }} + # INTENT: ${{ secrets.INTENT }} + # run: | + # ./.github/workflows/utils.sh runTests core # Run Manage tests - name: Run Manage tests and create assets diff --git a/.github/workflows/utils.sh b/.github/workflows/utils.sh index 92a71a986..7c651210c 100755 --- a/.github/workflows/utils.sh +++ b/.github/workflows/utils.sh @@ -254,9 +254,35 @@ function runTests(){ sleep 5s cd .. - - echo "curl request with runTest install on initialization" - response=$(curl -X POST -H "Content-Type: application/json" -d "$INTENT" http://localhost:3333/api/v1/state/method/parameters.initialization/result) + #Define the INTENT1 variable correctly +INTENT1=$(cat <