Skip to content

Commit

Permalink
OP-508 - build with ECS has been updated
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkalon committed Sep 2, 2024
1 parent 6d8e90d commit 91cc852
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 6 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,16 @@ jobs:
matrix:
php: ["8.0", "8.1", "8.2", "8.3"]
symfony: ["^5.4", "^6.4"]
sylius: ["~1.12.0", "~1.13.0"]
sylius: ["~1.12", "~1.13"]
node: ["^18.0", "^20.0"]
mysql: ["8.0"]
mysql: [ "5.7", "8.0" ]

exclude:
- sylius: "~1.13.0"
- sylius: "~1.13"
php: "8.0"
- symfony: "^6.4"
- sylius: "~1.12"
php: "8.0"
symfony: "^6.4"

env:
APP_ENV: test
Expand Down
9 changes: 8 additions & 1 deletion tests/Application/config/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/*
* This file has been created by developers from BitBag.
* Feel free to contact us once you face any issues or want to start
* You can find more information about us on https://bitbag.io and write us
* an email on hello@bitbag.io.
*/

declare(strict_types=1);

use Symfony\Component\Dotenv\Dotenv;
Expand All @@ -20,4 +27,4 @@

$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = ($_SERVER['APP_ENV'] ?? $_ENV['APP_ENV'] ?? null) ?: 'dev';
$_SERVER['APP_DEBUG'] = $_SERVER['APP_DEBUG'] ?? $_ENV['APP_DEBUG'] ?? 'prod' !== $_SERVER['APP_ENV'];
$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], \FILTER_VALIDATE_BOOLEAN) ? '1' : '0';
$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = (int) $_SERVER['APP_DEBUG'] || filter_var($_SERVER['APP_DEBUG'], \FILTER_VALIDATE_BOOLEAN) ? '1' : '0';
9 changes: 8 additions & 1 deletion tests/Application/public/index.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
<?php

/*
* This file has been created by developers from BitBag.
* Feel free to contact us once you face any issues or want to start
* You can find more information about us on https://bitbag.io and write us
* an email on hello@bitbag.io.
*/

declare(strict_types=1);

use Tests\BitBag\DpdPlShippingExportPlugin\Application\Kernel;
use Symfony\Component\ErrorHandler\Debug;
use Symfony\Component\HttpFoundation\Request;
use Tests\BitBag\DpdPlShippingExportPlugin\Application\Kernel;

require dirname(__DIR__) . '/config/bootstrap.php';

Expand Down

0 comments on commit 91cc852

Please sign in to comment.