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 Dec 1, 2022
1 parent ff6d546 commit 67decbb
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 @@ -18,24 +18,17 @@ concurrency:

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@v3

- 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 @@ -35,12 +35,11 @@ concurrency:

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 @@ -53,7 +52,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 67decbb

Please sign in to comment.