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 477a891 commit 6aa1270
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,18 @@ runs:
name: Run Script
run: |
${GITHUB_ACTION_PATH}/install.sh
echo "$(find /${GITHUB_WORKSPACE}/${WORKDIR}/keploy/ -type d -name 'test-set-*' | wc -l)" > ${GITHUB_WORKSPACE}/${WORKDIR}/testSets.yml
cd ${GITHUB_WORKSPACE}/${WORKDIR}/keploy/testReports
cd ${GITHUB_WORKSPACE}/${WORKDIR}/keploy
echo "$(find . -type d -name 'test-set-*' | wc -l)" > ${GITHUB_WORKSPACE}/${WORKDIR}/testSets.yml
cd /testReports
ls
echo "$(find "$@" -type f | wc -l)" > ${GITHUB_WORKSPACE}/${WORKDIR}/testReports.yml
cat ${GITHUB_WORKSPACE}/${WORKDIR}/testSets.yml
cat ${GITHUB_WORKSPACE}/${WORKDIR}/testReports.yml
for i in $(find "$@" -type f | wc -l)
iterations=$(find . -type f -iname "report-*.yaml" | wc -l)
echo "$iterations"
for ((i=1 ; i<=$iterations; ++i))
do
echo "Processing $i report.yaml file..."
echo "${GITHUB_WORKSPACE}/${WORKDIR}/keploy/testReports/report-i.yaml"
echo "Processing ${i} report.yaml file..."
cat "${GITHUB_WORKSPACE}/${WORKDIR}/keploy/testReports/report-${i}.yaml"
done
shell: sh
env:
Expand All @@ -64,4 +66,4 @@ runs:
uses: actions/upload-artifact@v3
with:
name: keploy-test-report-summary
path: ${GITHUB_WORKSPACE}/${WORKDIR}/keploy/testReports/report-*.yaml
path: "output/keploy/testReports/report-*.yaml"

0 comments on commit 6aa1270

Please sign in to comment.