Skip to content

Commit

Permalink
Set environment variables i separate step
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Dec 4, 2019
1 parent 8af1e62 commit 3c64808
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 3c64808

Please sign in to comment.