Skip to content

Commit

Permalink
bismillah
Browse files Browse the repository at this point in the history
  • Loading branch information
emreakay committed Mar 14, 2024
1 parent 778d08b commit 1d6037a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,36 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest]
php: [8.2]
laravel: [10.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
testbench: 8.13
carbon: ^2.63

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

services:
mysql:
image: mysql:8.0
ports:
- 3306
env:
MYSQL_ROOT_PASSWORD: acalendar
MYSQL_PASSWORD: acalendar
MYSQL_USER: acalendar
MYSQL_DATABASE: acalendar
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3

steps:
- name: Verify Mysql connection
run: |
mysql --version
sudo apt-get install -y mysql-client
mysql --host 127.0.0.1 --port ${{ job.services.mysql.ports['3306'] }} -uarflow -parflow -e "SHOW DATABASES"
- name: Checkout code
uses: actions/checkout@v3

Expand All @@ -49,3 +67,7 @@ jobs:

- name: Execute tests
run: vendor/bin/pest --ci
env:
DB_USERNAME: acalendar
DB_PASSWORD: acalendar
DB_PORT: ${{ job.services.mysql.ports[3306] }}
3 changes: 2 additions & 1 deletion README-todo.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

- Tüm modellerin eventlerini alan bir facade
- config dosyasındaki gereklilik
- config dosyasındaki gereklilik
- dökümantasyon

0 comments on commit 1d6037a

Please sign in to comment.