Skip to content

Commit

Permalink
Bump version to 2.7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
keesiemeijer committed Nov 14, 2023
2 parents 8701f1c + 2a28548 commit 0821842
Show file tree
Hide file tree
Showing 35 changed files with 3,312 additions and 1,977 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/main..yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Test

on: push

jobs:
phpunit:
name: PHPUnit
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.4', '8.0', '8.2']
services:
mysql:
image: mysql:5.7
env:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: wordpress_test
ports:
- 3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Composer dependencies
run: composer install -o --no-progress
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, mysql, mysqli, pdo_mysql, bcmath, soap, intl, gd, exif, iconv, imagick
coverage: none
- name: PHPUnit
run: |
bin/install-wp-tests.sh latest wordpress_test root root 127.0.0.1:${{ job.services.mysql.ports['3306'] }} true
vendor/bin/phpunit
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
build
node_modules
node_modules
vendor
.DS_Store
.phpunit.result.cache
67 changes: 0 additions & 67 deletions .travis.yml

This file was deleted.

5 changes: 4 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = function( grunt ) {
},
target: {
files: {
src: [ '*.php', '**/*.php', '!node_modules/**', '!bin/**' ]
src: [ '*.php', '**/*.php', '!node_modules/**', '!bin/**', '!vendor/**' ]
}
}
},
Expand Down Expand Up @@ -80,6 +80,7 @@ module.exports = function( grunt ) {
src: [
'**',
'!node_modules/**',
'!vendor/**',
'!bin/**',
'!tests/**',
'!build/**',
Expand All @@ -88,12 +89,14 @@ module.exports = function( grunt ) {
'!Gruntfile.js',
'!package.json',
'!package-lock.json',
'!composer.json',
'!composer.lock',
'!phpunit.xml',
'!README.md',
'!readme.md',
'!travis.yml',
'!.git/**',
'!.github/**',
'!.gitignore',
'!.gitmodules',
'!.gitattributes',
Expand Down
Loading

0 comments on commit 0821842

Please sign in to comment.