From 3116a88a8629ee43f778010e83da44f7033eab61 Mon Sep 17 00:00:00 2001 From: Markus Opolka Date: Fri, 2 Aug 2024 09:56:21 +0200 Subject: [PATCH] [squash] --- .github/workflows/php.yml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index f85735f..f1aeda6 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -12,13 +12,13 @@ on: jobs: lint: - name: Static analysis for php ${{ matrix.php }} on ${{ matrix.os }} + name: Lint and Code Style runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - php: ['8.0', '8.1', '8.2'] + php: ['8.0', '8.3'] os: ['ubuntu-latest'] steps: @@ -42,6 +42,26 @@ jobs: if: success() || matrix.allow_failure run: phpcs -wps --colors + test: + name: Unittest + runs-on: ${{ matrix.os }} + + strategy: + fail-fast: false + matrix: + php: ['8.0', '8.3'] + os: ['ubuntu-latest'] + + steps: + - name: Checkout code base + uses: actions/checkout@v3 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php }} + tools: phpunit + - name: Setup Libraries run: | mkdir -p _libraries