Skip to content

Commit 5858e25

Browse files
Added the credentials for google calendar
1 parent aa4056d commit 5858e25

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

.github/workflows/postman.yml

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,31 @@
11
name: Automated API tests using Postman CLI
2-
32
on:
43
push:
5-
branches:
6-
- main
7-
- develop
8-
- feature/test-workflows
94
pull_request:
10-
branches:
11-
- main
12-
- develop
135
workflow_dispatch:
14-
156
jobs:
167
automated-api-tests:
178
runs-on: macos-latest
189
env:
1910
COL_UID: ${{ secrets.COL_UID }}
2011
ENV_UID: ${{ secrets.ENV_UID }}
21-
POSTMAN_API_KEY: ${{ secrets.POSTMAN_API_KEY }}
12+
POSTMAN_API_KEY: ${{ secrets.PIMA_API_KEY }}
2213
steps:
2314
- uses: actions/checkout@v4
24-
2515
- name: Install Postman CLI
2616
run: |
2717
curl -o- "https://dl-cli.pstmn.io/install/osx_64.sh" | sh
28-
2918
- name: Login to Postman CLI
3019
run: postman login --with-api-key "$POSTMAN_API_KEY"
31-
3220
- name: Run API tests
3321
run: |
3422
mkdir -p reports
3523
postman collection run "$COL_UID" -e "$ENV_UID" \
3624
--reporters cli,junit \
37-
--reporter-junit-export reports/junit.xml || true
38-
25+
--reporter-junit-export reports/junit.xml
3926
- name: Upload JUnit report
4027
uses: actions/upload-artifact@v4
4128
with:
4229
name: postman-junit
43-
path: reports/junit.xml
30+
path: reports/junit.xml
31+

0 commit comments

Comments
 (0)