Skip to content

Commit

Permalink
[squash]
Browse files Browse the repository at this point in the history
  • Loading branch information
martialblog committed Aug 2, 2024
1 parent fed052c commit 3116a88
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 3116a88

Please sign in to comment.