Skip to content

Commit

Permalink
we don't need to set up the database
Browse files Browse the repository at this point in the history
handled in wpunit helpers
  • Loading branch information
jazzsequence committed Jan 17, 2025
1 parent 283670c commit 244a12f
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,12 @@ jobs:
run: |
composer install
npm install
- name: Setup MySQL
- name: Start MySQL
run: |
sudo /etc/init.d/mysql start
mysql -e 'CREATE DATABASE IF NOT EXISTS wordpress_test;' -uroot -proot
mysql -e 'SHOW DATABASES;' -uroot -proot
mysqladmin -V
- name: Setup WP-CLI
uses: godaddy-wordpress/setup-wp-cli@1
- name: Run Environment checks
run: |
php -v
mysqladmin -V
- name: Run linter
run: composer lint
- name: Run tests
Expand Down

0 comments on commit 244a12f

Please sign in to comment.