Improve acceptance test notifications
parent
03ecc53e16
commit
f8e9d4bc95
|
@ -39,20 +39,13 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: Run acceptance tests
|
name: Run acceptance tests
|
||||||
command: make acc
|
command: make acc
|
||||||
- run:
|
|
||||||
name: Discord notification
|
|
||||||
command: |
|
|
||||||
curl -X POST \
|
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
-d "{\"content\": \"✅ Acceptance tests succeeded 🎉\n<${CIRCLE_BUILD_URL}>\" }"\
|
|
||||||
${DISCORD_WEBHOOK}
|
|
||||||
- run:
|
- run:
|
||||||
name: Discord notification
|
name: Discord notification
|
||||||
when: on_fail
|
when: on_fail
|
||||||
command: |
|
command: |
|
||||||
curl -X POST \
|
curl -X POST \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d "{\"content\": \"❌ Acceptance tests failed\n<${CIRCLE_BUILD_URL}>\" }"\
|
-d "{\"content\": \"❌ Acceptance tests failed\nSuite: ${ACC_PATTERN}\n<${CIRCLE_BUILD_URL}>\" }"\
|
||||||
${DISCORD_WEBHOOK}
|
${DISCORD_WEBHOOK}
|
||||||
- store_test_results:
|
- store_test_results:
|
||||||
path: ./
|
path: ./
|
||||||
|
|
Loading…
Reference in New Issue