Skip to content

Commit a10f99d

Browse files
Added GitHub Actions workflow to run two Postman collections
1 parent b7e8eec commit a10f99d

File tree

2 files changed

+712
-0
lines changed

2 files changed

+712
-0
lines changed

.github/workflows/newman.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Run Postman API Tests
2+
3+
on:
4+
push:
5+
branches: [ newman-setup ]
6+
7+
jobs:
8+
api-test:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout Repository
13+
uses: actions/checkout@v3
14+
15+
- name: Setup Node
16+
uses: actions/setup-node@v3
17+
with:
18+
node-version: 18
19+
20+
- name: Install Newman
21+
run: npm install -g newman
22+
23+
- name: Run Collection
24+
run: newman run collection.json

0 commit comments

Comments
 (0)