Skip to content

Commit

Permalink
chore: run tests with only one PHP version
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Sep 11, 2023
1 parent 83d69ff commit bee75aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/test-coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,17 @@ permissions:

jobs:
lint:
name: PHP ${{ matrix.php-version }} Lint with PHP CS Fixer
name: Lint with PHP CS Fixer
runs-on: ubuntu-22.04

strategy:
fail-fast: false
matrix:
php-version:
- '8.0'
- '8.1'

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
php-version: '8.1'
extensions: tokenizer
coverage: none

Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/test-rector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,11 @@ permissions:

jobs:
build:
name: PHP ${{ matrix.php-versions }} Analyze code (Rector) on ${{ matrix.paths }}
name: Analyze code (Rector)
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
php-versions: ['8.0', '8.1']
paths:
- app
- system
Expand All @@ -58,7 +57,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
php-version: '8.1'
extensions: intl

- name: Use latest Composer
Expand Down

0 comments on commit bee75aa

Please sign in to comment.