From cc013dc3ed5129798811b1ea56dc1bb601101812 Mon Sep 17 00:00:00 2001 From: Mike Schroder Date: Mon, 18 May 2020 17:11:14 +0900 Subject: [PATCH 1/2] Update dependencies for Docker Environment and Grunt. * Upgrade packages for `grunt readme` to Grunt ^1.1.0 and grunt-wp-readme-to-markdown ^2.0.1, and update plugin version in `package.json`. * Upgrade Docker envionment to use `wordpress:5.4.1-php7.4` image. --- Dockerfile | 2 +- package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index f59fb33..faf4f9f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Start with the latest WordPress image. -FROM wordpress:5.3.2-php7.4 +FROM wordpress:5.4.1-php7.4 # Set up nodejs PPA RUN curl -sL https://deb.nodesource.com/setup_6.x | bash diff --git a/package.json b/package.json index 765740d..fafbe03 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "phpunit-test-reporter", - "version": "0.1.0", + "version": "0.1.2", "repository": { "type": "git", "url": "https://github.com/wordpress/phpunit-test-reporter.git" @@ -8,7 +8,7 @@ "main": "Gruntfile.js", "author": "WordPress Hosting Community ", "devDependencies": { - "grunt": "^0.4.5", - "grunt-wp-readme-to-markdown": "~1.0.0" + "grunt": "^1.1.0", + "grunt-wp-readme-to-markdown": "^2.0.1" } } From ebe7c0f093aa8424f0647b411402cc3a95a53906 Mon Sep 17 00:00:00 2001 From: Mike Schroder Date: Mon, 18 May 2020 17:16:08 +0900 Subject: [PATCH 2/2] Update Readme Files and release v0.1.2 * Update contributor list in `README.md`. * Add v0.1.2 Details to readme files. * `README.md` generated using updated `grunt-wp-readme-to-markdown`, which adds WP profile links. * Bump version in plugin to v0.1.2. --- README.md | 20 ++++++++++++++++++-- phpunit-test-reporter.php | 2 +- readme.txt | 20 ++++++++++++++++++-- 3 files changed, 37 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3e46371..267d769 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # PHPUnit Test Reporter # -**Contributors:** octalmage, danielbachhuber, wpamitkumar, mikeschroder, pfefferle +**Contributors:** [octalmage](https://profiles.wordpress.org/octalmage), [danielbachhuber](https://profiles.wordpress.org/danielbachhuber), [wpamitkumar](https://profiles.wordpress.org/wpamitkumar), [mikeschroder](https://profiles.wordpress.org/mikeschroder), [pfefferle](https://profiles.wordpress.org/pfefferle) **Tags:** phpunit **Requires at least:** 4.7 **Tested up to:** 5.4.1 -**Stable tag:** 0.1.1 +**Stable tag:** 0.1.2 **License:** GPLv3 **License URI:** http://www.gnu.org/licenses/gpl-3.0.html @@ -27,6 +27,14 @@ Usage: - `make shell`: SSH to Docker test environment. - `make test`: Runs `php-unit` and `phpcs` in Docker test environment. +There is also a [Grunt](https://gruntjs.com/) command for updating the `README.md` file for Github +after updating `readme.txt`. + +Usage: +- `npm install`: Installs necessary dependencies. +- `grunt readme`: Generates `README.md` with + `[grunt-wp-readme-to-markdown](https://github.com/stephenharris/wp-readme-to-markdown)`. + ## Changelog ## ### 0.1.0 (August 21st, 2017) ### @@ -37,3 +45,11 @@ Usage: * Update local and Travis CI builds. * Reduce number of revisions in index, while increasing max reporters shown. * Add contributor documentation. + +### 0.1.2 (May 18th, 2020) ### +* Only report result status when tests were actually run. Port of + [meta #7227](https://meta.trac.wordpress.org/changeset/7227) to plugin. +* Upgrade packages for `grunt readme` to Grunt ^1.1.0 and + grunt-wp-readme-to-markdown ^2.0.1, and update plugin version in `package.json`. +* Upgrade Docker environment to use `wordpress:5.4.1-php7.4` image. +* Correct contributor list in `readme.txt` and update `README.md`. diff --git a/phpunit-test-reporter.php b/phpunit-test-reporter.php index 574c62b..1b3d84b 100644 --- a/phpunit-test-reporter.php +++ b/phpunit-test-reporter.php @@ -7,7 +7,7 @@ * Author URI: https://make.wordpress.org/hosting/ * Text Domain: ptr * Domain Path: /languages - * Version: 0.1.1 + * Version: 0.1.2 * License: GPL v3 * * @package PTR diff --git a/readme.txt b/readme.txt index e4c9f55..9911862 100644 --- a/readme.txt +++ b/readme.txt @@ -1,9 +1,9 @@ === PHPUnit Test Reporter === -Contributors: octalmage, danielbachhuber, mikeschroder, pfefferle +Contributors: octalmage, danielbachhuber, wpamitkumar, mikeschroder, pfefferle Tags: phpunit Requires at least: 4.7 Tested up to: 5.4.1 -Stable tag: 0.1.1 +Stable tag: 0.1.2 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -27,6 +27,14 @@ Usage: - `make shell`: SSH to Docker test environment. - `make test`: Runs `php-unit` and `phpcs` in Docker test environment. +There is also a [Grunt](https://gruntjs.com/) command for updating the `README.md` file for Github +after updating `readme.txt`. + +Usage: +- `npm install`: Installs necessary dependencies. +- `grunt readme`: Generates `README.md` with + `[grunt-wp-readme-to-markdown](https://github.com/stephenharris/wp-readme-to-markdown)`. + == Changelog == = 0.1.0 (August 21st, 2017) = @@ -37,3 +45,11 @@ Usage: * Update local and Travis CI builds. * Reduce number of revisions in index, while increasing max reporters shown. * Add contributor documentation. + += 0.1.2 (May 18th, 2020) = +* Only report result status when tests were actually run. Port of + [meta #7227](https://meta.trac.wordpress.org/changeset/7227) to plugin. +* Upgrade packages for `grunt readme` to Grunt ^1.1.0 and + grunt-wp-readme-to-markdown ^2.0.1, and update plugin version in `package.json`. +* Upgrade Docker environment to use `wordpress:5.4.1-php7.4` image. +* Correct contributor list in `readme.txt` and update `README.md`.