Skip to content

Commit

Permalink
Enable SQLite by default
Browse files Browse the repository at this point in the history
  • Loading branch information
srtfisher committed Jul 31, 2024
1 parent 7ec8750 commit fb032a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/all-pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ jobs:
php-version: '${{ matrix.php }}'
wordpress-version: '${{ matrix.wordpress }}'
skip-wordpress-install: 'true'
skip-services: 'true' # Skip MySQL unless the library is not using SQLite testing.
4 changes: 4 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@
<directory suffix="Test.php">tests/Unit</directory>
</testsuite>
</testsuites>
<php>
<env name="MANTLE_USE_SQLITE" value="true" />
<env name="WP_SKIP_DB_CREATE" value="true" />
</php>
</phpunit>

0 comments on commit fb032a1

Please sign in to comment.