Skip to content

Commit

Permalink
ensure Mautic is using the dev env instead of test
Browse files Browse the repository at this point in the history
  • Loading branch information
mollux committed Sep 27, 2022
1 parent 40f1934 commit d7e6980
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
cp $GITHUB_WORKSPACE/.github/ci-files/local.php ./app/config/local.php
php bin/console mautic:install http://localhost/ \
--force --mailer_from_name="GitHub Actions" --mailer_from_email="[email protected]" \
--mailer_transport="smtp" --mailer_host="localhost" --mailer_port="1025"
--mailer_transport="smtp" --mailer_host="localhost" --mailer_port="1025" --env=dev
php bin/console cache:warmup --no-interaction --env=dev
sudo chown -R www-data:www-data /var/www/html
Expand All @@ -112,7 +112,7 @@ jobs:
- name: Enable Twilio plugin
run: |
mysql -uroot -P${{ job.services.mysql.ports[3306] }} -h127.0.0.1 -e "USE mautictest; INSERT INTO plugin_integration_settings (plugin_id, name, is_published, supported_features, api_keys, feature_settings) VALUES (NULL, 'Twilio', 1, 'a:0:{}', 'a:2:{s:8:\"username\";s:169:\"bzFmNlIydWRSZXlIN2lQVkdpanJ4aTQ2NUh6RVdDbHlLRVhsWGZ4b0kyZVNxLzYrQ1J6V1RvMnlhVEp0c245TEp6eStQekx5ZVhLWjB1YVdoR3RnR2dHQ3k1emVVdGt5NzZKUmtjUnJ3c1E9|L8tbZRIYhwatT7Mq+HAdYA==\";s:8:\"password\";s:169:\"T2d2cFpXQWE5YVZnNFFianJSYURRYUtGRHBNZGZjM1VETXg2Wm5Va3NheW43MjVWUlJhTVlCL2pYMDBpbElONStiVVBNbEM3M3BaeGJMNkFKNUFEN1pTNldSRjc4bUM4SDh1SE9OY1k5MTg9|TeuSvfx4XSUOvp0O7T49Cg==\";}', 'a:4:{s:20:\"sending_phone_number\";N;s:22:\"disable_trackable_urls\";i:0;s:16:\"frequency_number\";N;s:14:\"frequency_time\";N;}');"
php bin/console mautic:plugins:reload
php bin/console mautic:plugins:reload --env=dev
working-directory: /var/www/html

- name: Run tests
Expand Down

0 comments on commit d7e6980

Please sign in to comment.