Skip to content

Commit

Permalink
fixed run migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
vicmagpac authored and lpirola committed Jul 2, 2024
1 parent a2f974d commit f2616c3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ jobs:

- name: Run migrations
run: |
pwd
ls -la
mkdir var/private-files/dbupdate_documento
php src/tools/apply-updates.php
env:
APP_MODE: development
Expand Down
17 changes: 17 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/|version|/phpunit.xsd"
bootstrap="tests/bootstrap.php">
<testsuites>
<testsuite name="unit">
<directory>tests/unit</directory>
</testsuite>

<testsuite name="integration">
<directory>tests/integration</directory>
</testsuite>
</testsuites>
<php>
<env name="APP_MODE" value="development" force="true" />
</php>
</phpunit>

0 comments on commit f2616c3

Please sign in to comment.