Browse Source
* Update depdendencies, add additional PHPUnit configuration file, improve CI pipelinepull/293/head
Steel Wagstaff
3 years ago
committed by
GitHub
22 changed files with 673 additions and 201 deletions
@ -1 +1,11 @@ |
|||||||
<?php // TODO
|
<?php |
||||||
|
/** |
||||||
|
* Single page template |
||||||
|
* |
||||||
|
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/ |
||||||
|
* |
||||||
|
* @package Aldine |
||||||
|
*/ |
||||||
|
|
||||||
|
// TODO. |
||||||
|
|
||||||
|
@ -1 +1,11 @@ |
|||||||
<?php // TODO
|
<?php |
||||||
|
/** |
||||||
|
* Page block template |
||||||
|
* |
||||||
|
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/ |
||||||
|
* |
||||||
|
* @package Aldine |
||||||
|
*/ |
||||||
|
|
||||||
|
// TODO. |
||||||
|
|
||||||
|
@ -1,3 +1,13 @@ |
|||||||
|
<?php |
||||||
|
/** |
||||||
|
* Page header template |
||||||
|
* |
||||||
|
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/ |
||||||
|
* |
||||||
|
* @package Aldine |
||||||
|
*/ |
||||||
|
|
||||||
|
?> |
||||||
<div class="page-header"> |
<div class="page-header"> |
||||||
<h1><?php echo get_the_title(); ?></h1>
|
<h1><?php echo get_the_title(); ?></h1>
|
||||||
</div> |
</div> |
||||||
|
@ -0,0 +1,16 @@ |
|||||||
|
<?xml version="1.0"?> |
||||||
|
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="tests/bootstrap.php" backupGlobals="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> |
||||||
|
<coverage> |
||||||
|
<include> |
||||||
|
<directory suffix=".php">./inc</directory> |
||||||
|
</include> |
||||||
|
</coverage> |
||||||
|
<php> |
||||||
|
<const name="WP_TESTS_MULTISITE" value="1"/> |
||||||
|
</php> |
||||||
|
<testsuites> |
||||||
|
<testsuite name="Pressbooks Aldine"> |
||||||
|
<directory prefix="test-" suffix=".php">./tests/</directory> |
||||||
|
</testsuite> |
||||||
|
</testsuites> |
||||||
|
</phpunit> |
Loading…
Reference in new issue