Skip to content

Commit 3ab8bb5

Browse files
authored
Merge pull request #4 from xp-framework/refactor/migrate-testing
Migrate to new testing library
2 parents e69c876 + ce9c877 commit 3ab8bb5

File tree

6 files changed

+159
-159
lines changed

6 files changed

+159
-159
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
if: "!contains(github.event.head_commit.message, 'skip ci')"
1212
name: PHP ${{ matrix.php-versions }} on ${{ matrix.os }}
1313
runs-on: ${{ matrix.os }}
14-
continue-on-error: ${{ matrix.php-versions == '8.2' }}
14+
continue-on-error: ${{ matrix.php-versions == '8.3' }}
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
php-versions: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
18+
php-versions: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
1919
os: [ubuntu-latest, windows-latest]
2020

2121
steps:
@@ -24,17 +24,14 @@ jobs:
2424
run: git config --system core.autocrlf false; git config --system core.eol lf
2525

2626
- name: Checkout
27-
uses: actions/checkout@v2
27+
uses: actions/checkout@v3
2828

2929
- name: Set up PHP ${{ matrix.php-versions }}
3030
uses: shivammathur/setup-php@v2
3131
with:
3232
php-version: ${{ matrix.php-versions }}
3333
ini-values: date.timezone=Europe/Berlin
3434

35-
- name: Setup Problem Matchers for PHP
36-
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
37-
3835
- name: Validate composer.json and composer.lock
3936
run: composer validate
4037

@@ -43,7 +40,7 @@ jobs:
4340
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
4441

4542
- name: Cache dependencies
46-
uses: actions/cache@v2.1.3
43+
uses: actions/cache@v3
4744
with:
4845
path: ${{ steps.composer-cache.outputs.dir }}
4946
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
@@ -56,4 +53,4 @@ jobs:
5653
echo "vendor/autoload.php" > composer.pth
5754
5855
- name: Run test suite
59-
run: sh xp-run xp.unittest.TestRunner src/test/php
56+
run: sh xp-run xp.test.Runner src/test/php

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"php" : ">=7.0.0"
1111
},
1212
"require-dev" : {
13-
"xp-framework/unittest": "^11.0 | ^10.0 | ^9.0 | ^8.0 | ^7.0"
13+
"xp-framework/test": "^1.0"
1414
},
1515
"autoload" : {
1616
"files" : ["src/main/php/autoload.php"]

0 commit comments

Comments
 (0)