Skip to content

Commit

Permalink
Only copy the SQLite driver when starting the tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Jul 11, 2024
1 parent 14cbf74 commit 851ae31
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,9 @@
"wordpress-install-dir": "tests/wordpress"
},
"scripts": {
"post-update-cmd": [
"@php -r \"file_exists( 'tests/wordpress/wp-content/db.php' ) || copy( 'tests/wordpress/wp-content/plugins/sqlite-database-integration/db.copy', 'tests/wordpress/wp-content/db.php' );\""
],
"test": [
"@php -r \"file_exists( 'tests/wordpress/wp-content/db.php' ) || copy( 'tests/wordpress/wp-content/plugins/sqlite-database-integration/db.copy', 'tests/wordpress/wp-content/db.php' );\"",

"npm run validate",
"npm run build-wp-types",
"npm run test-wp-types",
Expand Down

0 comments on commit 851ae31

Please sign in to comment.