Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Commit

Permalink
feat: new framwork support added
Browse files Browse the repository at this point in the history
Signed-off-by: Animesh <[email protected]>
  • Loading branch information
Sonichigo committed Oct 17, 2023
1 parent a9fffa3 commit 971b8bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ runs:
name: Run Script
run: |
${GITHUB_ACTION_PATH}/install.sh
sudo -E keploy test -c "${COMMAND}" --delay ${DELAY} --path ${KEPLOY_PATH} > ${GITHUB_WORKSPACE}/${WORKDIR}/TestReport.txt
grep 'no of test cases:' ${GITHUB_WORKSPACE}/${WORKDIR}/TestReport.txt > ${GITHUB_WORKSPACE}/${WORKDIR}/temp.yml
cd ${GITHUB_WORKSPACE}/${WORKDIR}/keploy/testReports
cd ${GITHUB_WORKSPACE}/${WORKDIR}
sudo -E keploy test -c "${COMMAND}" --delay ${DELAY} --path ${KEPLOY_PATH} > TestReport.txt
grep -E 'no of test cases:[0-9]+' TestReport.txt > temp.yml
cd /keploy/testReports
ls
echo "No. of Reports is $(find "$@" -type f | wc -l)" >> ${GITHUB_WORKSPACE}/${WORKDIR}/temp.yml
cat ${GITHUB_WORKSPACE}/${WORKDIR}/temp.yml
rm TestReport.txt temp.yml
shell: sh
env:
WORKDIR: ${{ inputs.working-directory }}
Expand Down

0 comments on commit 971b8bd

Please sign in to comment.