Skip to content

Commit

Permalink
fix(action) Added Sqlite3 php extension
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAnyx committed Nov 27, 2023
1 parent 1199518 commit 58aeb72
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ APP_ENV=test
APP_SECRET=secret
KERNEL_CLASS='App\Kernel'
SYMFONY_DEPRECATIONS_HELPER=999999
DATABASE_URL="sqlite:///%kernel.project_dir%/data/database.sqlite"
MAILER_DSN="smtp://maildev:25"
DATABASE_URL=sqlite:///%kernel.project_dir%/data/database.db
MAILER_DSN="smtp://localhost"
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
9 changes: 3 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,12 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.2"
extensions: mbstring, xml, ctype, iconv, intl, pdo, pdo_mysql, dom, filter, gd, json, opcache, zip, pcov
extensions: mbstring, xml, ctype, iconv, intl, pdo, pdo_mysql, dom, filter, gd, json, opcache, zip, pcov, sqlite3
env:
update: true

Expand Down Expand Up @@ -77,8 +74,8 @@ jobs:
- name: Doctrine cache clear
run: php bin/console doctrine:cache:clear-metadata

# - name: Drop previous database
# run: php bin/console doctrine:database:drop --force --if-exists --env=test --no-interaction
- name: Drop previous database
run: php bin/console doctrine:database:drop --force --if-exists --env=test --no-interaction

- name: Create database
run: php bin/console doctrine:database:create --if-not-exists --env=test --no-interaction
Expand Down
Empty file added data/database.db
Empty file.

0 comments on commit 58aeb72

Please sign in to comment.