Add the first batch of unit tests #7645
backend.yml
on: push
Code Quality
5m 1s
Coding Style
48s
Matrix: tests
Annotations
25 errors and 5 warnings
UndefinedClass:
config/areas/site/requests.php#L15
config/areas/site/requests.php:15:11: UndefinedClass: Class, interface or enum named Changes does not exist (see https://psalm.dev/019)
|
UndefinedClass:
config/areas/site/requests.php#L24
config/areas/site/requests.php:24:11: UndefinedClass: Class, interface or enum named Changes does not exist (see https://psalm.dev/019)
|
UndefinedClass:
config/areas/site/requests.php#L34
config/areas/site/requests.php:34:11: UndefinedClass: Class, interface or enum named Changes does not exist (see https://psalm.dev/019)
|
UndefinedClass:
config/areas/site/requests.php#L44
config/areas/site/requests.php:44:11: UndefinedClass: Class, interface or enum named Changes does not exist (see https://psalm.dev/019)
|
UndefinedClass:
config/areas/site/requests.php#L73
config/areas/site/requests.php:73:11: UndefinedClass: Class, interface or enum named Changes does not exist (see https://psalm.dev/019)
|
UndefinedClass:
config/areas/site/requests.php#L82
config/areas/site/requests.php:82:11: UndefinedClass: Class, interface or enum named Changes does not exist (see https://psalm.dev/019)
|
UndefinedClass:
config/areas/site/requests.php#L92
config/areas/site/requests.php:92:11: UndefinedClass: Class, interface or enum named Changes does not exist (see https://psalm.dev/019)
|
UndefinedClass:
config/areas/site/requests.php#L102
config/areas/site/requests.php:102:11: UndefinedClass: Class, interface or enum named Changes does not exist (see https://psalm.dev/019)
|
Unit tests - PHP 8.2
Process completed with exit code 2.
|
Unit tests - PHP 8.2:
tests/Content/TestCase.php#L9
Type of Kirby\Content\TestCase::$model must be Kirby\Cms\ModelWithContent (as in class Kirby\TestCase)
|
Unit tests - PHP 8.2
Process completed with exit code 255.
|
Unit tests - PHP 8.3
The job was canceled because "_8_2" failed.
|
UndefinedClass:
config/areas/site/requests.php#L15
config/areas/site/requests.php:15:11: UndefinedClass: Class, interface or enum named Changes does not exist (see https://psalm.dev/019)
|
UndefinedClass:
config/areas/site/requests.php#L24
config/areas/site/requests.php:24:11: UndefinedClass: Class, interface or enum named Changes does not exist (see https://psalm.dev/019)
|
UndefinedClass:
config/areas/site/requests.php#L34
config/areas/site/requests.php:34:11: UndefinedClass: Class, interface or enum named Changes does not exist (see https://psalm.dev/019)
|
UndefinedClass:
config/areas/site/requests.php#L44
config/areas/site/requests.php:44:11: UndefinedClass: Class, interface or enum named Changes does not exist (see https://psalm.dev/019)
|
UndefinedClass:
config/areas/site/requests.php#L73
config/areas/site/requests.php:73:11: UndefinedClass: Class, interface or enum named Changes does not exist (see https://psalm.dev/019)
|
UndefinedClass:
config/areas/site/requests.php#L82
config/areas/site/requests.php:82:11: UndefinedClass: Class, interface or enum named Changes does not exist (see https://psalm.dev/019)
|
UndefinedClass:
config/areas/site/requests.php#L92
config/areas/site/requests.php:92:11: UndefinedClass: Class, interface or enum named Changes does not exist (see https://psalm.dev/019)
|
UndefinedClass:
config/areas/site/requests.php#L102
config/areas/site/requests.php:102:11: UndefinedClass: Class, interface or enum named Changes does not exist (see https://psalm.dev/019)
|
Unit tests - PHP 8.3
Process completed with exit code 2.
|
Unit tests - PHP 8.3:
tests/Content/TestCase.php#L9
Type of Kirby\Content\TestCase::$model must be Kirby\Cms\ModelWithContent (as in class Kirby\TestCase)
|
Unit tests - PHP 8.3
Process completed with exit code 255.
|
Code Quality
The job running on runner GitHub Actions 5 has exceeded the maximum execution time of 5 minutes.
|
Code Quality
The operation was canceled.
|
Coding Style
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744, actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests - PHP 8.2
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744, actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c, github/codeql-action/upload-sarif@4a8f20f6b9b5114f354129a1e2f391d75bfd640a. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests - PHP 8.2
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
|
Unit tests - PHP 8.3
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
|
Code Quality
CodeQL Action v2 will be deprecated on December 5th, 2024. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/
|