Skip to content

Commit

Permalink
Add coverage tag validation to CI command
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenDeDauw committed Nov 3, 2015
1 parent c4a5fd9 commit 0f158f9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion composer.json
Expand Up @@ -27,6 +27,7 @@
"require-dev": {
"ext-sqlite3": "*",
"whatthejeff/nyancat-phpunit-resultprinter": "~1.2",
"ockcyp/covers-validator": "~0.2.0",
"squizlabs/php_codesniffer": "~2.3",
"phpmd/phpmd": "~2.3"
},
Expand All @@ -43,7 +44,8 @@
"scripts": {
"test": [
"composer validate --no-interaction",
"phpunit"
"phpunit",
"vendor/bin/covers-validator"
],
"cs": [
"composer phpcs",
Expand Down
2 changes: 1 addition & 1 deletion tests/bootstrap.php
Expand Up @@ -11,7 +11,7 @@
die( 'You need to install this package with Composer before you can run the tests' );
}

$autoLoader = require_once __DIR__ . '/../vendor/autoload.php';
$autoLoader = require __DIR__ . '/../vendor/autoload.php';

$autoLoader->addPsr4( 'Tests\\Queryr\\TermStore\\', __DIR__ . '/integration' );

Expand Down
Expand Up @@ -8,12 +8,12 @@
use Queryr\TermStore\TermStoreInstaller;

/**
* @covers Queryr\TermStore\StoreInstaller
* @covers Queryr\TermStore\TermStoreInstaller
*
* @licence GNU GPL v2+
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
class StoreInstallerTest extends \PHPUnit_Framework_TestCase {
class TermStoreInstallerTest extends \PHPUnit_Framework_TestCase {

/**
* @var TermStoreInstaller
Expand Down

0 comments on commit 0f158f9

Please sign in to comment.