Skip to content

Commit

Permalink
GH Actions: merge "moderate" and "modern" jobs
Browse files Browse the repository at this point in the history
As there is now effectively no difference anymore between the `moderate` and `modern` jobs, these jobs can now be merged into one.
  • Loading branch information
jrfnl committed Aug 7, 2021
1 parent 5509ad6 commit c066974
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions .github/workflows/ci.yml
Expand Up @@ -31,37 +31,13 @@ jobs:
- name: PHPUnit tests
run: vendor/bin/phpunit

moderate:
moderate-modern:
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: ['ubuntu-latest']
php-versions: ['7.1', '7.2', '7.3']
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, intl, sodium
coverage: none

- name: Install Composer dependencies
uses: "ramsey/composer-install@v1"

- name: PHPUnit tests
run: vendor/bin/phpunit

modern:
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: ['ubuntu-latest']
php-versions: ['7.4', '8.0']
php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0']
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit c066974

Please sign in to comment.