Skip to content

test pr (ignore)

test pr (ignore) #12

Workflow file for this run

name: Automated API tests using newman
on: pull_request
jobs:
automated-api-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Postman CLI
uses: actions/setup-node@v2
with:
node-version: "18"
- name: "Install newman"
run: "npm install -g newman"
- name: "Install newman reporter"
run: "npm install -g newman-reporter-htmlextra"
- name: Run API tests
run: |
newman run docker-compose/postman/collection.json -e docker-compose/postman/dev.json -r htmlextra --reporter-htmlextra-export htmlreport.html --reporter-htmlextra-darkTheme > runreport1.html