Skip to content

Commit

Permalink
✅ Add email test to GitHub actions
Browse files Browse the repository at this point in the history
Signed-off-by: mathieu.brunot <[email protected]>
  • Loading branch information
madmath03 authored and mriedmann committed Sep 5, 2020
1 parent c921d0d commit 96e3982
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ jobs:
run: docker ps -a
- name: Test
run: curl http://localhost:8080/ -L --fail -s | grep 'Sign in</button>' -q

- name: Test Email
run: docker-compose exec -w '/var/www/localhost/htdocs/protected' -T humhub php yii test/email '[email protected]' | grep 'Message successfully sent!' -q
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ before_install:

script:
- curl http://localhost:8080/ -L --fail -s | grep 'Sign in</button>' -q
- docker-compose exec -w '/var/www/localhost/htdocs/protected' -T humhub php yii test/email '[email protected]'
- docker-compose exec -w '/var/www/localhost/htdocs/protected' -T humhub php yii test/email '[email protected]' | grep 'Message successfully sent!' -q

0 comments on commit 96e3982

Please sign in to comment.