Skip to content

Commit

Permalink
ci: test
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Oct 14, 2024
1 parent 98d23f1 commit 27c3b35
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
- run: nohup npm run start --prefix broker-webhook > out.log 2>&1 &
- run: npm run create-webhook --prefix broker-webhook
- run: npm test --prefix consumer
- run: npm run pact:publish --prefix consumer
- run: |
logs_addr=$(npm run pact:publish --prefix consumer | grep "View logs at" | awk -F' ' '{print $4}')
curl $logs_addr --user pact_workshop:pact_workshop -H "Accept: */*"
- run: sleep 15
- run: cat out.log

0 comments on commit 27c3b35

Please sign in to comment.