Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
Clean up CI smoke tests output.
Browse files Browse the repository at this point in the history
  • Loading branch information
TravisCarden committed May 2, 2024
1 parent 9fafbc2 commit 4e5e827
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,14 @@ jobs:
- name: Test
working-directory: /var/www
run: |
set -o xtrace
# Run cron to populate the search index, etc.
php ./vendor/bin/drush core:cron
echo
# Smoke tests.
curl http://localhost/ | grep "<title>"
curl --location http://localhost/node/1 | grep "<title>"
curl --silent http://localhost/ | grep "<title>" || true
curl --location --silent http://localhost/node/1 | grep "<title>" || true
./vendor/bin/phpunit
4 changes: 2 additions & 2 deletions .tugboat/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ services:
- php vendor/bin/drush core:cron

# Smoke tests.
- curl http://localhost/ | grep "<title>"
- curl --location http://localhost/node/1 | grep "<title>"
- curl --silent http://localhost/ | grep "<title>" || true
- curl --location --silent http://localhost/node/1 | grep "<title>" || true

0 comments on commit 4e5e827

Please sign in to comment.