Skip to content

Commit dba91c2

Browse files
authored
Merge pull request #11 from PivotPHP/feature/v1.1.2-consolidation
Feature/v1.1.2 consolidation
2 parents 05757aa + d151a54 commit dba91c2

File tree

120 files changed

+3128
-13551
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+3128
-13551
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
- name: Cache Composer packages
3434
id: composer-cache
35-
uses: actions/cache@v3
35+
uses: actions/cache@v4
3636
with:
3737
path: vendor
3838
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
@@ -56,7 +56,7 @@ jobs:
5656
- name: Run PHP CS
5757
run: |
5858
if [ -f "vendor/bin/phpcs" ]; then
59-
./vendor/bin/phpcs --standard=PSR12 src/ || { echo 'PHPCS check failed'; exit 1; }
59+
./vendor/bin/phpcs --standard=phpcs.xml || { echo 'PHPCS check failed'; exit 1; }
6060
else
6161
echo "PHPCS not installed, skipping code style check"
6262
fi
@@ -65,7 +65,7 @@ jobs:
6565
run: |
6666
if [ -f "vendor/bin/phpunit" ]; then
6767
echo "Running PHPUnit tests on PHP ${{ matrix.php-version }}..."
68-
./vendor/bin/phpunit --testdox --fail-on-warning --fail-on-incomplete || code=$?
68+
./vendor/bin/phpunit --testdox --exclude-group performance || code=$?
6969
if [ "${code:-$?}" -eq 0 ] || [ "${code:-$?}" -eq 1 ]; then
7070
echo "PHPUnit OK (exit code $code: success or only skipped/incomplete tests)"
7171
exit 0
@@ -82,7 +82,7 @@ jobs:
8282
run: php scripts/validate_project.php || { echo 'Custom validation failed'; exit 1; }
8383

8484
- name: Upload coverage to Codecov
85-
uses: codecov/codecov-action@v3
85+
uses: codecov/codecov-action@v4
8686
if: matrix.php-version == '8.1'
8787
with:
8888
file: ./coverage.xml

.github/workflows/pre-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
extensions: mbstring, xml, ctype, iconv, intl, pdo, dom, filter, gd, json, session
2323

2424
- name: Cache Composer packages
25-
uses: actions/cache@v3
25+
uses: actions/cache@v4
2626
with:
2727
path: vendor
2828
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
@@ -60,7 +60,7 @@ jobs:
6060
continue-on-error: true
6161

6262
- name: Upload coverage to Codecov
63-
uses: codecov/codecov-action@v3
63+
uses: codecov/codecov-action@v4
6464
with:
6565
file: ./coverage.xml
6666
flags: pre-release

0 commit comments

Comments
 (0)