Skip to content

Commit 58f0fbb

Browse files
authored
Update action.yml
1 parent 9e519b2 commit 58f0fbb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

action.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,16 @@ runs:
6565
$RUN_SYSTEM_SCRIPT_PATH "cli" $UTBOT_CLI_OPTIONS
6666
shell: sh
6767

68+
- name: Testing file
69+
if: ${{ inputs.launch_param == 'directory' }}
70+
run: |
71+
cd "./utbot-release-${{ inputs.utbot_version }}/utbot_distr"
72+
export CURRENT_FOLDER="$( cd $( dirname . ) && pwd )"
73+
RUN_SYSTEM_SCRIPT_PATH=$CURRENT_FOLDER/utbot_run_system.sh
74+
UTBOT_CLI_OPTIONS="generate --project-path ../../${{ inputs.param_name }} folder --folder-path ../../${{ inputs.param_name }}"
75+
$RUN_SYSTEM_SCRIPT_PATH "cli" $UTBOT_CLI_OPTIONS
76+
shell: sh
77+
6878
- name: Create Pull Request with tests and codeAnalysis information
6979
uses: peter-evans/create-pull-request@v4
7080
if: ${{ inputs.test_push_info == 'true' }}

0 commit comments

Comments
 (0)