File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1010 - main
1111 - develop
1212 workflow_dispatch :
13+
1314jobs :
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
You can’t perform that action at this time.
0 commit comments