File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed
Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 4747 git config --bool core.bare true
4848 echo "The values bare repo has been successfully set up"
4949 ls
50+ - name : Install Postman CLI
51+ run : |
52+ curl -o- "https://dl-cli.pstmn.io/install/linux64.sh" | sh
53+ - name : Login to Postman CLI
54+ run : postman login --with-api-key ${{ secrets.POSTMAN_API_KEY }}
55+
5056 - name : Start core server
5157 run : |
5258 cd apl-core
@@ -57,21 +63,13 @@ jobs:
5763 npm install
5864 cp .env.sample .env
5965 npm run dev > $GITHUB_WORKSPACE/api.log 2>&1 &
60- - name : Wait for api
61- run : |
66+
6267 echo "Waiting for API to be ready..."
6368 while ! curl -s -f -o /dev/null http://localhost:8080/v2/builds; do
6469 sleep 10
6570 done
6671 echo "API is ready!"
67- - name : Install Postman CLI
68- run : |
69- curl -o- "https://dl-cli.pstmn.io/install/linux64.sh" | sh
70- - name : Login to Postman CLI
71- run : postman login --with-api-key ${{ secrets.POSTMAN_API_KEY }}
7272
73- - name : Run API tests
74- run : |
7573 postman collection run "44183872-d3b3cdc9-ba1f-4a71-bcba-6a3cb3dc9643" -e "43715313-d380e919-5142-44e6-b52c-02f8b04da8fa" -i "44183872-cb769d53-ad67-4f87-9d74-eabf11adec74"
7674 - name : Upload logs
7775 if : always()
You can’t perform that action at this time.
0 commit comments