Skip to content

Commit

Permalink
change with sqlite3
Browse files Browse the repository at this point in the history
  • Loading branch information
agungsugiarto committed Feb 1, 2021
1 parent e1b1d56 commit c7c38f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Boilerplate Build"
name: "ci build"

on:
pull_request:
Expand All @@ -22,15 +22,6 @@ jobs:
extensions: intl, json, mbstring, xdebug, xml
php-version: "${{ matrix.php-versions }}"
coverage: xdebug
- name: Shutdown Ubuntu MySQL (SUDO)
run: sudo service mysql stop
- name: Setup MySQL
uses: samin/[email protected]
with:
mysql version: 5.7
mysql password: test
mysql user: test
mysql database: boilerplate-test
- name: Checkout
uses: actions/checkout@v2
- name: "Validate composer.json and composer.lock"
Expand Down
8 changes: 2 additions & 6 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,7 @@
<const name="HOMEPATH" value="./"/>
<const name="CONFIGPATH" value="./vendor/codeigniter4/framework/app/Config/"/>
<const name="PUBLICPATH" value="./vendor/codeigniter4/framework/public/"/>
<env name="database.tests.hostname" value="localhost"/>
<env name="database.tests.database" value="boilerplate-test"/>
<env name="database.tests.username" value="test"/>
<env name="database.tests.password" value="test"/>
<env name="database.tests.DBDriver" value="MySQLi"/>
<env name="database.tests.DBPrefix" value=""/>
<env name="database.tests.database" value=":memory:"/>
<env name="database.tests.DBDriver" value="SQLite3"/>
</php>
</phpunit>

0 comments on commit c7c38f6

Please sign in to comment.