We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd0ab82 commit 6838cdfCopy full SHA for 6838cdf
.github/workflows/postman.yml
@@ -0,0 +1,17 @@
1
+name: Automated API tests using Postman CLI
2
+
3
+on: push
4
5
+jobs:
6
+ automated-api-tests:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v4
10
+ - name: Install Postman CLI
11
+ run: |
12
+ curl -o- "https://dl-cli.pstmn.io/install/linux64.sh" | sh
13
+ - name: Login to Postman CLI
14
+ run: postman login --with-api-key ${{ secrets.POSTMAN_API_KEY }}
15
+ - name: Run API tests
16
17
+ postman collection run "${{ github.workspace }}/postman/collections/JSON-SERVER.json"
0 commit comments