Skip to content

Commit

Permalink
Update github-actions-htmlextra-report.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
askherconsulting committed Aug 21, 2021
1 parent 3c43bfb commit 4c07385
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/github-actions-htmlextra-report.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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

Expand Down

0 comments on commit 4c07385

Please sign in to comment.