From 1f8f4189019c0de59c42834c3cc6fbd0203bec8d Mon Sep 17 00:00:00 2001 From: Brian French Date: Fri, 10 Feb 2023 15:59:55 -0500 Subject: [PATCH 1/2] Update composer.json --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 8ded818..c256fd4 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,8 @@ "phpcompatibility/php-compatibility": "^9.3", "phpstan/phpstan": "^1.9", "phpunit/phpunit": "^9.5", - "staabm/annotate-pull-request-from-checkstyle": "^1.8" + "staabm/annotate-pull-request-from-checkstyle": "^1.8", + "vishnubob/wait-for-it": "dev-master" }, "autoload": { "psr-4": { From fd2fe4411e5218e71234ef18bec108d07246f717 Mon Sep 17 00:00:00 2001 From: Brian French Date: Fri, 10 Feb 2023 16:03:34 -0500 Subject: [PATCH 2/2] Update ci.yml --- .github/workflows/ci.yml | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7e65ec..5c98699 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,8 +14,8 @@ jobs: strategy: fail-fast: false matrix: - php-version: ['7.4', '8.0', '8.1', '8.2'] - name: Test PHP ${{ matrix.php-version }} + php-version: ['7.4', '8.0', '8.1', '8.2', 'latest'] + name: Test - PHP - ${{ matrix.php-version }} steps: - uses: actions/checkout@v3 @@ -35,7 +35,11 @@ jobs: coverage-php: runs-on: ubuntu-22.04 - name: Coverage + strategy: + fail-fast: false + matrix: + php-version: ['7.4', '8.0', '8.1', '8.2', 'latest'] + name: Coverage - PHP - ${{ matrix.php-version }} steps: - uses: actions/checkout@v3 @@ -43,7 +47,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '7.4' + php-version: ${{ matrix.php-version }} extensions: mbstring, intl coverage: pcov @@ -61,8 +65,12 @@ jobs: verbose: true coding-standard: - name: Coding Standard runs-on: ubuntu-22.04 + strategy: + fail-fast: false + matrix: + php-version: ['7.4', '8.0', '8.1', '8.2', 'latest'] + name: Coding Standard - PHP - ${{ matrix.php-version }} steps: - uses: actions/checkout@v3 @@ -70,7 +78,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '7.4' + php-version: ${{ matrix.php-version }} extensions: mbstring, intl coverage: none @@ -85,8 +93,8 @@ jobs: strategy: fail-fast: false matrix: - php-version: ['7.4', '8.0', '8.1', '8.2'] - name: Static Analysis - PHP ${{ matrix.php-version }} + php-version: ['7.4', '8.0', '8.1', '8.2', 'latest'] + name: Static Analysis - PHP - ${{ matrix.php-version }} steps: - uses: actions/checkout@v3