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 1e7fd16 commit 35261a4
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +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
cat ${GITHUB_WORKSPACE}/${WORKDIR}/temp.txt
${GITHUB_ACTION_PATH}/install.sh >> ${GITHUB_WORKSPACE}/${WORKDIR}/TestReport.txt
sed -i 's/no of test cases: //g' ${GITHUB_WORKSPACE}/${WORKDIR}/TestReport.txt >> ${GITHUB_WORKSPACE}/${WORKDIR}/temp.yml
cd ${GITHUB_WORKSPACE}/${WORKDIR}/keploy/testReports
echo "No. of files is $(find "$@" -type f | wc -l)"
echo "No. of Reports is $(find "$@" -type f | wc -l)" >> ${GITHUB_WORKSPACE}/${WORKDIR}/temp.txt
ls
cat ${GITHUB_WORKSPACE}/${WORKDIR}/temp.txt
echo "No. of Reports is $(find "$@" -type f | wc -l)" >> ${GITHUB_WORKSPACE}/${WORKDIR}/temp.yml
cat ${GITHUB_WORKSPACE}/${WORKDIR}/temp.yml
cat ${GITHUB_WORKSPACE}/${WORKDIR}/TestReport.txt
shell: sh
env:
WORKDIR: ${{ inputs.working-directory }}
Expand Down

0 comments on commit 35261a4

Please sign in to comment.