Skip to content

Commit

Permalink
chore: remove EOL PHP releases
Browse files Browse the repository at this point in the history
  • Loading branch information
blacknell committed Jun 27, 2022
1 parent 3b5aaa5 commit a8f1239
Showing 1 changed file with 6 additions and 145 deletions.
151 changes: 6 additions & 145 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
@@ -1,147 +1,8 @@
name: qa
on: [push, pull_request]
jobs:
PHP5_3:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '5.3'

- name: Validate composer.json and composer.lock
run: composer validate

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest

- name: Run PHPUnit
run: vendor/bin/phpunit -c tests/build.xml

PHP5_4:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '5.4'

- name: Validate composer.json and composer.lock
run: composer validate

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest

- name: Run PHPUnit
run: vendor/bin/phpunit -c tests/build.xml

PHP5_5:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '5.5'

- name: Validate composer.json and composer.lock
run: composer validate

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest

- name: Run PHPUnit
run: vendor/bin/phpunit -c tests/build.xml

PHP5_6:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '5.6'

- name: Validate composer.json and composer.lock
run: composer validate

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest

- name: Run PHPUnit
run: vendor/bin/phpunit -c tests/build.xml

PHP7_0:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.0'

- name: Validate composer.json and composer.lock
run: composer validate

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest

- name: Run PHPUnit
run: vendor/bin/phpunit -c tests/build.xml

PHP7_1:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.1'

- name: Validate composer.json and composer.lock
run: composer validate

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest

- name: Run PHPUnit
run: vendor/bin/phpunit -c tests/build.xml

PHP7_2:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.2'

- name: Validate composer.json and composer.lock
run: composer validate

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest

- name: Run PHPUnit
run: vendor/bin/phpunit -c tests/build.xml

PHP7_3:
PHP7_4:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -150,7 +11,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.3'
php-version: '7.4'

- name: Validate composer.json and composer.lock
run: composer validate
Expand All @@ -161,7 +22,7 @@ jobs:
- name: Run PHPUnit
run: vendor/bin/phpunit -c tests/build.xml

PHP7_4:
PHP8_0:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -170,7 +31,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.0'

- name: Validate composer.json and composer.lock
run: composer validate
Expand All @@ -181,7 +42,7 @@ jobs:
- name: Run PHPUnit
run: vendor/bin/phpunit -c tests/build.xml

PHP8_0:
PHP8_1:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -190,7 +51,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: '8.1'

- name: Validate composer.json and composer.lock
run: composer validate
Expand Down

0 comments on commit a8f1239

Please sign in to comment.