mirror of https://github.com/statping/statping
postman
parent
716dbac6ba
commit
bac146fa18
|
@ -151,7 +151,9 @@ jobs:
|
|||
mv statping $(go env GOPATH)/bin/
|
||||
|
||||
- name: Run Statping
|
||||
run: API_SECRET=demosecret123 statping --port 8080 > /dev/null 2>&1
|
||||
run: |
|
||||
API_SECRET=demosecret123 statping --port=8080 > /dev/null &
|
||||
sleep 3
|
||||
|
||||
- name: Postman Tests
|
||||
uses: matt-ball/newman-action@master
|
||||
|
|
2
Makefile
2
Makefile
|
@ -306,7 +306,7 @@ snapcraft: clean compile build-linux
|
|||
snapcraft push statping_${VERSION}_i386.snap --release stable
|
||||
snapcraft push statping_${VERSION}_arm.snap --release stable
|
||||
|
||||
postman: clean
|
||||
postman: clean compile
|
||||
API_SECRET=demosecret123 statping --port=8080 > /dev/null &
|
||||
sleep 3
|
||||
newman run -e dev/postman_environment.json dev/postman.json
|
||||
|
|
Loading…
Reference in New Issue