Skip to content

Commit

Permalink
Update codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
TavoNiievez committed Feb 23, 2024
1 parent 43b93f4 commit 35f7dbd
Show file tree
Hide file tree
Showing 61 changed files with 6,831 additions and 986 deletions.
5 changes: 2 additions & 3 deletions .env
@@ -1,11 +1,10 @@
###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=ad5e9ed11ff896949f234ec07bc075bf
APP_SECRET=c39972d23278f52101c810eea7d5a512
###< symfony/framework-bundle ###

###> app ###
BUSINESS_SHORTNAME=
BUSINESS_FULLNAME=
BUSINESS_NAME=Codeception
###< app ###

###> doctrine/doctrine-bundle ###
Expand Down
4 changes: 2 additions & 2 deletions .env.test
Expand Up @@ -2,5 +2,5 @@ APP_ENV=test
APP_SECRET='$ecretf0rt3st'
DATABASE_URL=sqlite:///%kernel.project_dir%/var/test.db3
KERNEL_CLASS='App\Kernel'
SYMFONY_DEPRECATIONS_HELPER=999999
MAILER_DSN=null://null
MAILER_DSN=null://null
SYMFONY_DEPRECATIONS_HELPER=999999
16 changes: 8 additions & 8 deletions .github/workflows/symfony.yml
Expand Up @@ -3,10 +3,10 @@ name: CI
on:
push:
branches:
- '5.4_codecept5'
- '5.4'
pull_request:
branches:
- '5.4_codecept5'
- '5.4'

env:
APP_ENV: test
Expand All @@ -18,10 +18,10 @@ jobs:
strategy:
fail-fast: true
matrix:
php-versions: ['8.0', '8.1', '8.2', '8.3']
php-versions: ['8.1', '8.2', '8.3']
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup PHP with extensions and Composer v2
uses: shivammathur/setup-php@v2
Expand All @@ -40,7 +40,7 @@ jobs:
run: echo "::set-output name=dir::$(composer config cache-files-dir)"

- name: Cache composer dependencies
uses: actions/cache@v2.1.7
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-${{ matrix.php-versions }}-composer-${{ hashFiles('composer.json') }}
Expand All @@ -50,10 +50,10 @@ jobs:
run: composer install --no-progress

- name: Update database schema
run: php bin/console d:s:u -f
run: php bin/console doctrine:schema:update --force

- name: Load Doctrine fixtures
run: php bin/console d:f:l -q
run: php bin/console doctrine:fixtures:load --quiet

- name: Run functional tests
run: vendor/bin/codecept run Functional
run: vendor/bin/codecept run Functional
11 changes: 6 additions & 5 deletions codeception.yml
@@ -1,10 +1,11 @@
namespace: App\Tests
support_namespace: Support
paths:
tests: tests
support: tests/_build/support
data: tests/_build/data
envs: tests/_build/envs
output: tests/_build/output
output: tests/_output
data: tests/Support/Data
support: tests/Support
envs: tests/_envs
actor_suffix: Tester
extensions:
enabled:
Expand All @@ -15,4 +16,4 @@ params:
settings:
shuffle: true
colors: true
report_useless_tests: true
report_useless_tests: true
9 changes: 3 additions & 6 deletions composer.json
Expand Up @@ -11,7 +11,7 @@
],
"minimum-stability": "RC",
"require": {
"php": ">=8.0.2",
"php": ">=8.1.0",
"ext-ctype": "*",
"ext-iconv": "*",
"doctrine/doctrine-bundle": "^2.5",
Expand All @@ -34,7 +34,7 @@
"codeception/codeception": "^5.0.0-RC3",
"codeception/lib-innerbrowser": "^3.1",
"codeception/module-asserts": "^3.0",
"codeception/module-doctrine2": "^3.0",
"codeception/module-doctrine": "^3.1",
"codeception/module-phpbrowser": "^3.0",
"codeception/module-symfony": "^3.0 | *@dev",
"doctrine/doctrine-fixtures-bundle": "^3.4",
Expand All @@ -57,7 +57,7 @@
},
"sort-packages": true,
"platform": {
"php": "8.0.2"
"php": "8.1.0"
},
"allow-plugins": {
"symfony/flex": true,
Expand All @@ -70,9 +70,6 @@
}
},
"autoload-dev": {
"classmap": [
"tests/_build/support"
],
"psr-4": {
"App\\Tests\\": "tests/"
}
Expand Down

0 comments on commit 35f7dbd

Please sign in to comment.