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 730c284 commit fd163d9
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,24 @@ runs:
name: Run Script
run: |
${GITHUB_ACTION_PATH}/install.sh
echo "No. of TestSets is $(find /${GITHUB_WORKSPACE}/${WORKDIR}/keploy/ -type d -name 'test-set-*' | wc -l)" > ${GITHUB_WORKSPACE}/${WORKDIR}/temp.yml
echo "No. of TestSets is $(find /${GITHUB_WORKSPACE}/${WORKDIR}/keploy/ -type d -name 'test-set-*' | wc -l)" > ${GITHUB_WORKSPACE}/${WORKDIR}/temp1.yml
echo "No. of TestSets is $(find /${GITHUB_WORKSPACE}/${WORKDIR}/keploy/ -type d -name 'test-set-*' | wc -l)" > ${GITHUB_WORKSPACE}/${WORKDIR}/testSets.yml
cd ${GITHUB_WORKSPACE}/${WORKDIR}/keploy/testReports
ls
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}/temp1.yml
echo "No. of Reports is $(find "$@" -type f | wc -l)" >> ${GITHUB_WORKSPACE}/${WORKDIR}/testReports.yml
cat ${GITHUB_WORKSPACE}/${WORKDIR}/testSets.yml
cat ${GITHUB_WORKSPACE}/${WORKDIR}/testReports.yml
shell: sh
env:
WORKDIR: ${{ inputs.working-directory }}
DELAY: ${{ inputs.delay }}
COMMAND : ${{ inputs.command }}
KEPLOY_PATH: ${{inputs.keploy-path}}
- name: Set outputs
run: |
echo "::set-output name=test-report::$(cat ${GITHUB_WORKSPACE}/${WORKDIR}/keploy/testReports/report-1.yml)"
echo "::set-output name=success::$(cat ${GITHUB_WORKSPACE}/${WORKDIR}/keploy/testReports/report-1.yml)"
echo "::set-output name=failed::$(cat ${GITHUB_WORKSPACE}/${WORKDIR}/keploy/testReports/report-1.yml)"
shell: bash
env:
WORKDIR: ${{ inputs.working-directory }}

0 comments on commit fd163d9

Please sign in to comment.