Skip to content

Commit

Permalink
fix CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
abourtnik committed Jan 17, 2025
1 parent 0f39836 commit 0caceed
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .env.testing
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ LOG_CHANNEL=stack
LOG_LEVEL=debug

DB_CONNECTION=mysql
DB_HOST=mariadb
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=clipzone_test
DB_DATABASE=test
DB_USERNAME=root
DB_PASSWORD=

Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/CI-CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ jobs:
test:
name: Run Test and PHP Stan
runs-on: ubuntu-latest
services:
mysql:
image: mysql:latest
env:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: test
ports:
- 3306/tcp
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- uses: actions/checkout@v3
- name: 🏗 Setup PHP
Expand Down

0 comments on commit 0caceed

Please sign in to comment.