Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Customizable route path, supports for SQLite and some improvements #3

Merged
merged 4 commits into from
May 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/envs/.env.testing.sqlite
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DB_CONNECTION=sqlite
14 changes: 11 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
db: ['mysql', 'pgsql']
db: ['mysql', 'pgsql', 'sqlite']
runs-on: ubuntu-latest
services:
postgresql:
Expand Down Expand Up @@ -48,19 +48,27 @@ jobs:
run: |
cp .github/envs/.env.testing.pgsql .env.testing

- name: Start SQLite Database
if: matrix.db == 'sqlite'
run: |
cp .github/envs/.env.testing.pgsql .env.testing
touch database.sqlite
DB_DATABASE="$(pwd)/database.sqlite"
echo $DB_DATABASE

- name: Bootstrap project
if: success()
run: |
php -v
composer install --no-interaction

- name: PHPUnit tests with coverage
if: success() && github.event.pull_request.draft == false
if: success()
run: |
composer test-coverage

- name: upload coverage to codecov.io
if: success() && matrix.db == 'mysql'
if: success()
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ helps you to roll out the inbox process in no time 😎🚀.
## Supports
- Laravel 10 & 11
- PHP 8.2+
- MySQL 8, MariaDB & Postgres 13+
- MySQL 8, MariaDB, Postgres 13+ and SQLite

## Architecture Diagram

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
},
"require-dev": {
"fakerphp/faker": "^v1.20.0",
"mockery/mockery": "^1.5.1",
"mockery/mockery": "^1.6",
"phpunit/phpunit": "^10",
"orchestra/testbench": "^8",
"orchestra/testbench": "^8|^9",
"phpunit/php-code-coverage": "^10",
"friendsofphp/php-cs-fixer": "^3.10"
},
Expand Down
Loading
Loading