Skip to content

New tests towards better cov in some classes with low metrics #647

New tests towards better cov in some classes with low metrics

New tests towards better cov in some classes with low metrics #647

Triggered via push March 30, 2024 10:17
Status Failure
Total duration 1m 4s
Artifacts

test.yml

on: push
CI test (make validate)
18s
CI test (make validate)
Code coverage (codecov)
0s
Code coverage (codecov)
Matrix: SelfUpdate tests (PHAR)
Build moodle-plugin-ci.phar
0s
Build moodle-plugin-ci.phar
Matrix: Integration tests
Matrix: Integration tests (PHAR)
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 3 warnings
InvalidCast: tests/Fake/Process/DummyExecute.php#L29
tests/Fake/Process/DummyExecute.php:29:33: InvalidCast: array{getCommandLine: string, getOutput: string, isSuccessful: true, run: 0} cannot be cast to string (see https://psalm.dev/103)
InvalidArgument: tests/Fake/Process/DummyExecute.php#L29
tests/Fake/Process/DummyExecute.php:29:33: InvalidArgument: Argument 1 of Mockery\MockInterface::shouldReceive expects string, but array{getCommandLine: string, getOutput: string, isSuccessful: true, run: 0} provided (see https://psalm.dev/004)
CI test (make validate)
Process completed with exit code 2.
SelfUpdate tests (PHAR) (8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: robinraju/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
SelfUpdate tests (PHAR) (8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: robinraju/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
SelfUpdate tests (PHAR) (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: robinraju/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.