-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set environment variables i separate step
- Loading branch information
Showing
1 changed file
with
4 additions
and
6 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 |
---|---|---|
|
@@ -14,6 +14,10 @@ jobs: | |
operating-system: [ubuntu-latest] | ||
php-versions: ['7.2', '7.3'] | ||
steps: | ||
- name: Set environment variables | ||
run: | | ||
echo "::set-env name=APP_ENV::test" | ||
echo "::set-env name=DATABASE_URL::mysql://root:[email protected]/setono_sylius_redirect?serverVersion=5.7" | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
- name: Setup PHP, with composer and extensions | ||
|
@@ -41,11 +45,5 @@ jobs: | |
(cd tests/Application && bin/console doctrine:schema:create -vvv) | ||
(cd tests/Application && bin/console assets:install public -vvv) | ||
(cd tests/Application && bin/console cache:warmup -vvv) | ||
env: | ||
APP_ENV: test | ||
DATABASE_URL: mysql://root:[email protected]/setono_sylius_analytics?serverVersion=5.7 | ||
- name: Run behat | ||
run: vendor/bin/behat --strict -vvv --no-interaction || vendor/bin/behat --strict -vvv --no-interaction --rerun | ||
env: | ||
APP_ENV: test | ||
DATABASE_URL: mysql://root:[email protected]/setono_sylius_analytics?serverVersion=5.7 |