File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed
Expand file tree Collapse file tree 2 files changed +10
-8
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-
5650 - name : Start core server
5751 run : |
5852 cd apl-core
@@ -62,14 +56,22 @@ jobs:
6256 run : |
6357 npm install
6458 cp .env.sample .env
65- npm run dev > $GITHUB_WORKSPACE/api.log 2>&1 &
66-
59+ RUNNER_TRACKING_ID="" && (nohup npm dev&)
60+ - name : Wait for api
61+ run : |
6762 echo "Waiting for API to be ready..."
6863 while ! curl -s -f -o /dev/null http://localhost:8080/v2/builds; do
6964 sleep 10
7065 done
7166 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 : |
7375 postman collection run "44183872-d3b3cdc9-ba1f-4a71-bcba-6a3cb3dc9643" -e "43715313-d380e919-5142-44e6-b52c-02f8b04da8fa" -i "44183872-cb769d53-ad67-4f87-9d74-eabf11adec74"
7476 - name : Upload logs
7577 if : always()
You can’t perform that action at this time.
0 commit comments