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 bcd5b6d commit 1e7fd16
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,16 @@ runs:
name: Run Script
run: |
${GITHUB_ACTION_PATH}/install.sh
sudo -E keploy test -c "./application" --delay ${DELAY} --path ${KEPLOY_PATH} >> ${GITHUB_WORKSPACE}/${WORKDIR}/TestReport.txt
cat ${GITHUB_WORKSPACE}/${WORKDIR}/TestReport.txt
sed -i 's/no of test cases: //g' ${GITHUB_WORKSPACE}/${WORKDIR}/TestReport.txt >> ${GITHUB_WORKSPACE}/${WORKDIR}/temp.yml
cat ${GITHUB_WORKSPACE}/${WORKDIR}/temp.yml
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
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.yml
echo "No. of Reports is $(find "$@" -type f | wc -l)" >> ${GITHUB_WORKSPACE}/${WORKDIR}/temp.txt
ls
cat ${GITHUB_WORKSPACE}/${WORKDIR}/temp.txt
cat ${GITHUB_WORKSPACE}/${WORKDIR}/TestReport.txt
shell: sh
env:
WORKDIR: ${{ inputs.working-directory }}
Expand Down

0 comments on commit 1e7fd16

Please sign in to comment.