diff --git a/.github/workflows/run-automation-batch.yml b/.github/workflows/run-automation-batch.yml index ced9b8d..ff7375c 100644 --- a/.github/workflows/run-automation-batch.yml +++ b/.github/workflows/run-automation-batch.yml @@ -29,4 +29,11 @@ jobs: echo "github${{ github.actor }}${{ secrets.GITHUB_TOKEN }}" > ~/.m2/settings.xml - name: Run Rest Assured Test Cases - run: mvn clean test \ No newline at end of file + 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