Skip to content

Commit a146dcc

Browse files
removed coverage from the pipeline
1 parent b65355a commit a146dcc

File tree

2 files changed

+46
-10
lines changed

2 files changed

+46
-10
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,5 @@ jobs:
4141
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
4242
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
4343
44-
- name: List Installed Dependencies
45-
run: composer show -D
46-
4744
- name: Execute tests (PEST)
48-
run: vendor/bin/pest --coverage-text --coverage-clover=coverage.clover
49-
50-
- name: Code coverage
51-
uses: codecov/codecov-action@v3
52-
with:
53-
token: ${{ secrets.CODECOV_TOKEN }}
54-
file: ./coverage.clover
45+
run: vendor/bin/pest

phpunit.xml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.4/phpunit.xsd"
4+
bootstrap="vendor/autoload.php"
5+
colors="true"
6+
failOnRisky="true"
7+
failOnWarning="true"
8+
stopOnFailure="false"
9+
cacheDirectory=".phpunit.cache"
10+
backupGlobals="false"
11+
processIsolation="false"
12+
stopOnError="false"
13+
stopOnIncomplete="false"
14+
stopOnSkipped="false">
15+
16+
<testsuites>
17+
<testsuite name="Package Test Suite">
18+
<directory>tests</directory>
19+
</testsuite>
20+
</testsuites>
21+
22+
<source>
23+
<include>
24+
<directory suffix=".php">src</directory>
25+
</include>
26+
<exclude>
27+
<directory>vendor</directory>
28+
</exclude>
29+
</source>
30+
31+
<coverage>
32+
<report>
33+
<html outputDirectory="coverage/html" lowUpperBound="50" highLowerBound="80"/>
34+
<clover outputFile="coverage.clover"/>
35+
<text outputFile="php://stdout" showUncoveredFiles="false"/>
36+
</report>
37+
</coverage>
38+
39+
<php>
40+
<env name="APP_ENV" value="testing"/>
41+
<env name="CACHE_DRIVER" value="array"/>
42+
<env name="SESSION_DRIVER" value="array"/>
43+
<env name="QUEUE_DRIVER" value="sync"/>
44+
</php>
45+
</phpunit>

0 commit comments

Comments
 (0)