Skip to content

Commit

Permalink
adding extent report in workflow
Browse files Browse the repository at this point in the history
adding extent report in workflow
  • Loading branch information
ar-asghar committed Oct 10, 2024
1 parent 09aae43 commit 77f9b33
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/run-automation-batch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,11 @@ jobs:
echo "<settings><servers><server><id>github</id><username>${{ github.actor }}</username><password>${{ secrets.GITHUB_TOKEN }}</password></server></servers></settings>" > ~/.m2/settings.xml
- name: Run Rest Assured Test Cases
run: mvn clean test
run: mvn clean test

- name: Archive TestNG Reports
if: always() # This ensures the step runs even if the tests fail
uses: actions/upload-artifact@v3
with:
name: extent-reports
path: ./extent.reports/ # Update this path if your reports are stored elsewhere

0 comments on commit 77f9b33

Please sign in to comment.