drop mysql and redis and use sqlite for Vito itself to optimize the resources

This commit is contained in:
Saeed Vaziry
2024-02-25 17:16:11 +01:00
parent 44d8364a52
commit 470274279b
14 changed files with 53 additions and 190 deletions

View File

@ -1,10 +1,7 @@
name: code-style
on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
jobs:
code-style:

View File

@ -2,26 +2,14 @@ name: tests
on:
push:
branches:
- 1.x
pull_request:
schedule:
- cron: '0 0 * * *'
jobs:
tests:
runs-on: ubuntu-22.04
services:
mysql:
image: mysql
env:
MYSQL_DATABASE: test_db
MYSQL_USER: user
MYSQL_PASSWORD: password
MYSQL_ROOT_PASSWORD: rootpassword
ports:
- 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
strategy:
fail-fast: true
matrix:
@ -49,8 +37,3 @@ jobs:
- name: Run test suite
run: php artisan test
env:
DB_HOST: 127.0.0.1
DB_DATABASE: test_db
DB_USERNAME: user
DB_PASSWORD: password