forked from mriedmann/humhub-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve test readability and output in error cases (#98)
- Loading branch information
1 parent
af4fe92
commit 644a907
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -126,7 +126,7 @@ jobs: | |
uses: mxschmitt/action-tmate@v3 | ||
if: ${{ github.event_name == 'workflow_dispatch' && inputs.ssh_debug_enabled }} | ||
- name: Test | ||
run: curl 'http://localhost:8080/' -L --fail -s | grep 'Sign in</button>' -q || ( curl 'http://localhost:8080/' ; exit 1;) | ||
run: curl 'http://localhost:8080/' --location --fail --silent | grep 'Sign in</button>' -q || ( curl --trace 'http://localhost:8080/' ; exit 1;) | ||
- name: Test Email | ||
run: docker-compose exec -T humhub php /var/www/localhost/htdocs/protected/yii test/email '[email protected]' --interactive=0 \ | ||
| grep 'Message successfully sent!' -q | ||
|
@@ -177,7 +177,7 @@ jobs: | |
uses: mxschmitt/action-tmate@v3 | ||
if: ${{ github.event_name == 'workflow_dispatch' && inputs.ssh_debug_enabled }} | ||
- name: Test | ||
run: curl 'http://localhost:8080/' -L --fail -s | grep 'Sign in</button>' -q || ( curl 'http://localhost:8080/' ; exit 1;) | ||
run: curl 'http://localhost:8080/' --location --fail --silent | grep 'Sign in</button>' -q || ( curl --trace 'http://localhost:8080/' ; exit 1;) | ||
- name: Test Email | ||
run: | | ||
docker-compose exec -T humhub php /var/www/localhost/htdocs/protected/yii test/email '[email protected]' --interactive=0 \ | ||
|