Skip to content

Commit

Permalink
Add debug test
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Jul 14, 2024
1 parent 8682620 commit aa2539d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ jobs:
- name: Supported Imagick Formats
run: php -r 'var_dump(Imagick::queryFormats());'

- name: Debug
run: php 'debug.php'

- name: Execute tests
run: vendor/bin/phpunit --no-coverage

Expand Down
7 changes: 7 additions & 0 deletions debug.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

$imagick = new Imagick();
$imagick->readImage('./tests/resources/tile.png');

var_dump($imagick->identifyImage());
var_dump($imagick->getImageType());

0 comments on commit aa2539d

Please sign in to comment.