-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #108 from Coderberg/2.x
2.x
- Loading branch information
Showing
22 changed files
with
1,233 additions
and
1,096 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 |
---|---|---|
|
@@ -23,8 +23,9 @@ APP_SECRET=6feff92fb5278f215ddca9545d19fcd3 | |
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml | ||
# | ||
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db" | ||
DATABASE_URL="mysql://db_user:[email protected]:3306/db_name?serverVersion=5.7" | ||
# DATABASE_URL="postgresql://db_user:[email protected]:5432/db_name?serverVersion=13&charset=utf8" | ||
DATABASE_URL="mysql://app:[email protected]:3306/app?serverVersion=8.0.32&charset=utf8mb4" | ||
# DATABASE_URL="mysql://app:[email protected]:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4" | ||
# DATABASE_URL="postgresql://app:[email protected]:5432/app?serverVersion=15&charset=utf8" | ||
###< doctrine/doctrine-bundle ### | ||
|
||
###> symfony/mailer ### | ||
|
@@ -35,9 +36,9 @@ MAILER_DSN=null://localhost | |
|
||
###> symfony/messenger ### | ||
# Choose one of the transports below | ||
# MESSENGER_TRANSPORT_DSN=doctrine://default | ||
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages | ||
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages | ||
MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0 | ||
###< symfony/messenger ### | ||
|
||
# Select default language (en, ru, bg, nl) | ||
|
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 |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
KERNEL_CLASS='App\Kernel' | ||
APP_SECRET='$ecretf0rt3st' | ||
SYMFONY_DEPRECATIONS_HELPER=999999 | ||
PANTHER_APP_ENV=panther | ||
PANTHER_APP_ENV=test | ||
PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots | ||
DATABASE_URL=mysql://db_user:[email protected]:3306/db_name |
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
services: | ||
mariadb: | ||
image: mariadb:latest | ||
image: mariadb:10.6.14 | ||
ports: | ||
- 3306 | ||
env: | ||
|
@@ -18,7 +18,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
php-versions: ['8.1', '8.2'] | ||
php-versions: ['8.1'] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
@@ -52,9 +52,9 @@ jobs: | |
run: | | ||
php bin/console app:install | ||
env: | ||
DATABASE_URL: mysql://mariadb:[email protected]:${{ job.services.mariadb.ports[3306] }}/mariadb?serverVersion=mariadb-10.6.4 | ||
DATABASE_URL: mysql://mariadb:[email protected]:${{ job.services.mariadb.ports[3306] }}/mariadb?serverVersion=mariadb-10.6.14 | ||
- name: Run Tests | ||
env: | ||
PANTHER_NO_SANDBOX: "1" | ||
DATABASE_URL: mysql://mariadb:[email protected]:${{ job.services.mariadb.ports[3306] }}/mariadb?serverVersion=mariadb-10.6.4 | ||
DATABASE_URL: mysql://mariadb:[email protected]:${{ job.services.mariadb.ports[3306] }}/mariadb?serverVersion=mariadb-10.6.14 | ||
run: php bin/phpunit --coverage-text |
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
php-versions: ['8.1', '8.2'] | ||
php-versions: ['8.2'] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
@@ -56,4 +56,5 @@ jobs: | |
- name: Run Tests | ||
env: | ||
DATABASE_URL: mysql://root:[email protected]:${{ job.services.mysql.ports[3306] }}/symfony?serverVersion=5.7 | ||
PANTHER_APP_ENV: test | ||
run: php bin/phpunit --coverage-text |
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 |
---|---|---|
|
@@ -52,4 +52,4 @@ jobs: | |
- name: Run Tests | ||
env: | ||
DATABASE_URL: postgres://postgres:[email protected]:${{ job.services.postgres.ports[5432] }}/postgres?charset=UTF-8 | ||
run: php bin/phpunit --coverage-text | ||
run: php bin/phpunit --testsuite=main |
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
Oops, something went wrong.