Skip to content

Commit

Permalink
Merge pull request #918 from PopupMaker/release/1.14
Browse files Browse the repository at this point in the history
Release 1.14
  • Loading branch information
fpcorso authored Dec 16, 2020
2 parents d9063d2 + 72897f3 commit 034dad5
Show file tree
Hide file tree
Showing 51 changed files with 3,127 additions and 527 deletions.
10 changes: 8 additions & 2 deletions .distignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
/.git
/.github
/assets/js/src
/assets/js/sass
/assets/sass
/bin
/build
/node_modules
/release
/src
/tasks
/tests
/vendor
Expand All @@ -15,17 +16,22 @@
.distignore
.editorconfig
.eslintignore
.eslintrc.js
.gitattributes
.gitignore
.jshintrc
.scrutinizer.yml
.stylelintignore
.stylelintrc.json
.travis.yml
apigen.neon
composer.json
composer.lock
gulpfile.js
labels.json
npm-debug.log
package.json
package-lock.json
phpci.yml
phpunit.xml
yarn-lock.json
yarn-lock.json
7 changes: 5 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Set default behaviour to automatically normalize line endings.
* text eol=lf
*.png binary
*.jpg binary

# Items to ignore when downloading a zip
/.* export-ignore
bin export-ignore
Expand All @@ -13,8 +18,6 @@ README.md export-ignore
tests export-ignore
renovate.json export-ignore



.browserslistrc export-ignore
.editorconfig export-ignore
.eslintignore export-ignore
Expand Down
5 changes: 3 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ Issue:
- [ ] Safari

## Checklist:
- [ ] This PR passes all automated checks (will appear once pull request is submitted)
- [ ] My code has been tested in the latest version of WordPress.
- [ ] My code does not have any warnings from ESLint.
- [ ] My code does not have any warnings from StyleLint.
- [ ] My code does not have any warnings from PHPCS.
- [ ] My code follows the WordPress code style.
- [ ] My code follows the accessibility standards. <!-- Guidelines: https://developer.wordpress.org/coding-standards/wordpress-coding-standards/accessibility/ -->
- [ ] My code follows [the WordPress coding standards](https://developer.wordpress.org/coding-standards/).
- [ ] My code follows [the accessibility standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/accessibility/).
- [ ] All new functions and classes have code documentation.
42 changes: 42 additions & 0 deletions .github/workflows/phpunit-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: CI - PHPUnit

on:
push:
branches: [ develop ]
pull_request:
branches: [ master, develop ]

jobs:
build:

runs-on: ubuntu-latest
name: PHPUnit tests on PHP ${{ matrix.php-version }}
strategy:
matrix:
php-version: [ '7.1', '7.2', '7.3', '7.4' ]

container:
image: junaidbhura/wp-tests:php-${{ matrix.php-version }}

services:
mysql:
image: mysql:5.7
env:
MYSQL_ROOT_PASSWORD: password
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Validate composer.json and composer.lock
run: composer validate

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest

- name: Install WordPress
run: bash bin/install-wp-tests.sh wordpress_test root 'password' mysql

- name: Run test suite
run: composer tests
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ project.properties
/build/
/node_modules/
/release/
npm-debug.log

# Testing
.phpunit.result.cache
Expand All @@ -25,6 +26,7 @@ project.properties
# Composer
/vendor/
contributors.md
composer.lock

# Packages
/packages/*
Expand Down
Loading

0 comments on commit 034dad5

Please sign in to comment.