Skip to content

Commit 1d7c97f

Browse files
author
student
committed
updated
1 parent 68a5b26 commit 1d7c97f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/postman.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,32 @@ on:
1010
- main
1111
- develop
1212
workflow_dispatch:
13+
1314
jobs:
1415
automated-api-tests:
1516
runs-on: ubuntu-latest
1617
env:
1718
POSTMAN_API_KEY: ${{ secrets.POSTMAN_API_KEY }}
1819
steps:
1920
- uses: actions/checkout@v4
21+
2022
- name: Install Postman CLI
2123
run: |
2224
curl -o- "https://dl-cli.pstmn.io/install/linux64.sh" | sh
23-
- name: Login to Postman CLI
25+
26+
27+
- name: Authenticate with Postman
2428
run: postman login --with-api-key "$POSTMAN_API_KEY"
29+
2530
- name: Run API tests
2631
run: |
2732
mkdir -p reports
28-
postman pull \
2933
postman collection run "Feedlink" \
3034
--reporters cli,junit \
3135
--reporter-junit-export reports/junit.xml
36+
3237
- name: Upload JUnit report
3338
uses: actions/upload-artifact@v4
3439
with:
3540
name: postman-junit
36-
path: reports/junit.xml
37-
38-
39-
40-
41-
41+
path: reports/junit.xml

0 commit comments

Comments
 (0)