From 4c073853114af7576acd6e4af8c3eccdf47364c0 Mon Sep 17 00:00:00 2001 From: Beth Marshall Date: Sat, 21 Aug 2021 09:33:36 +0100 Subject: [PATCH] Update github-actions-htmlextra-report.yml --- .github/workflows/github-actions-htmlextra-report.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/github-actions-htmlextra-report.yml b/.github/workflows/github-actions-htmlextra-report.yml index 72233c9..3bcbd90 100644 --- a/.github/workflows/github-actions-htmlextra-report.yml +++ b/.github/workflows/github-actions-htmlextra-report.yml @@ -1,6 +1,6 @@ -# This is an intermediate workflow to help you produce a HTML extra test results report +# This workflow will help you to produce an HTML extra test results report -name: "Newman Tests" +name: Newman Tests on: [push, pull_request] jobs: @@ -22,10 +22,12 @@ jobs: run: | npm install -g newman npm install -g newman-reporter-htmlextra + # Make directory to upload the test results - name: Make Directory for results run: mkdir -p testResults - + + # Run the POSTMAN collection - name: Run API Tests run: newman run "Restful Booker BVT.postman_collection.json" -e Production.postman_environment.json -r htmlextra --reporter-htmlextra-export testResults/htmlreport.html