Skip to content

Commit

Permalink
Creating database on run
Browse files Browse the repository at this point in the history
  • Loading branch information
aldavigdis committed Feb 18, 2024
1 parent 7f689a9 commit c723a56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,16 @@ jobs:
matrix:
php-versions: ['8.2', '8.3', '8.4']
env:
DB_NAME: 'wp-test'
DB_HOST: '127.0.0.1'
DB_USER: root
DB_PASSWORD: password
XDEBUG_MODE: coverage
extensions: bcmath
key: cache-v1
steps:
- name: Create Database
run: 'mariadb --host $DB_HOST --user $DB_USER --password $DB_PASSWORD < "CREATE DATABASE wp-test"'
- name: Checkout
uses: actions/checkout@v3
- name: Setup cache environment
Expand Down

0 comments on commit c723a56

Please sign in to comment.