Skip to content

Commit

Permalink
Merge pull request #118 from williamdes/debian-adjustments
Browse files Browse the repository at this point in the history
Debian adjustments and project improvements
  • Loading branch information
DASPRiD authored Dec 7, 2022
2 parents 3c6b551 + bc63923 commit 8674e51
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
/.gitignore export-ignore
/.github export-ignore
/phpcs.xml export-ignore
/phpunit.xml.dist export-ignore
/CHANGELOG.md export-ignore
/Dockerfile export-ignore
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -30,7 +30,7 @@ jobs:
php-versions: ['7.4', '8.0', '8.1', '8.2']
runs-on: ${{ matrix.operating-system }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -57,6 +57,6 @@ jobs:
run: vendor/bin/phpunit --coverage-clover clover.xml

- name: Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
files: ./clover.xml
6 changes: 6 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,11 @@
"allow-plugins": {
"ocramius/package-versions": true
}
},
"archive": {
"exclude": [
"/test",
"/phpunit.xml.dist"
]
}
}
9 changes: 9 additions & 0 deletions test/Integration/ImagickRenderingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,16 @@
use PHPUnit\Framework\TestCase;
use Spatie\Snapshots\MatchesSnapshots;

/**
* @group integration
*/
final class ImagickRenderingTest extends TestCase
{
use MatchesSnapshots;

/**
* @requires extension imagick
*/
public function testGenericQrCode() : void
{
$renderer = new ImageRenderer(
Expand All @@ -35,6 +41,9 @@ public function testGenericQrCode() : void
unlink($tempName);
}

/**
* @requires extension imagick
*/
public function testIssue79() : void
{
$eye = SquareEye::instance();
Expand Down

0 comments on commit 8674e51

Please sign in to comment.