Skip to content

Commit 4172148

Browse files
committed
fix: wip
2 parents bafdf3a + 3584634 commit 4172148

File tree

3 files changed

+8
-28
lines changed

3 files changed

+8
-28
lines changed

.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup PHP
1717
uses: shivammathur/setup-php@v2
1818
with:
19-
php-version: '8.0'
19+
php-version: '8.1'
2020
coverage: none
2121

2222
- name: Install composer dependencies

.github/workflows/run-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: run-tests
1+
name: Tests
22

33
on: [push, pull_request]
44

@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: true
1010
matrix:
11-
os: [ubuntu-latest, windows-latest]
11+
os: [ubuntu-latest]
1212
php: [8.2]
1313
laravel: [11.*]
1414
stability: [prefer-lowest, prefer-stable]
@@ -46,4 +46,4 @@ jobs:
4646
run: sleep 5
4747

4848
- name: Execute tests
49-
run: ./vendor/bin/testbench package:test --no-coverage
49+
run: vendor/bin/phpunit

phpunit.xml.dist

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
3-
backupStaticAttributes="false"
4-
bootstrap="vendor/autoload.php"
2+
<phpunit bootstrap="vendor/autoload.php"
3+
backupGlobals="false"
54
colors="true"
6-
convertErrorsToExceptions="true"
7-
convertNoticesToExceptions="true"
8-
convertWarningsToExceptions="true"
9-
processIsolation="false"
10-
stopOnFailure="false"
11-
verbose="true"
12-
>
5+
stopOnFailure="false">
136
<testsuites>
14-
<testsuite name="Binarcode Test Suite">
7+
<testsuite name="BinarCode Test Suite">
158
<directory>tests</directory>
169
</testsuite>
1710
</testsuites>
18-
<coverage>
19-
<include>
20-
<directory suffix=".php">./src</directory>
21-
</include>
22-
<report>
23-
<html outputDirectory="build/coverage"/>
24-
<text outputFile="build/coverage.txt"/>
25-
<clover outputFile="build/logs/clover.xml"/>
26-
</report>
27-
</coverage>
28-
<logging>
29-
<junit outputFile="build/report.junit.xml"/>
30-
</logging>
3111
</phpunit>

0 commit comments

Comments
 (0)