Merge branch 'main' into add_github_repository

main
Elie 2021-02-16 17:43:50 +01:00 committed by GitHub
commit 2c42fb3284
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 8 deletions

View File

@ -39,20 +39,13 @@ jobs:
- run:
name: Run acceptance tests
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:
name: Discord notification
when: on_fail
command: |
curl -X POST \
-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}
- store_test_results:
path: ./