Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
MDevster committed Feb 27, 2024
1 parent 7c2d247 commit bb63548
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4 # Run with the lowest supported to avoid incompatible fixes
php-version: 8.0 # Run with the lowest supported to avoid incompatible fixes
extensions: dom, fileinfo, filter, gd, hash, intl, json, mbstring, mysqli, pcre, pdo_mysql, zlib
coverage: none
env:
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: 8.0
extensions: dom, fileinfo, filter, gd, hash, intl, json, mbstring, mysqli, pcre, pdo_mysql, zlib
coverage: none
env:
Expand Down Expand Up @@ -76,25 +76,25 @@ jobs:
# - name: Run the unit tests
# run: vendor/bin/phpunit --colors=always

# nightly:
# name: PHP 8.2
# runs-on: ubuntu-latest
# continue-on-error: true
# steps:
# - name: Setup PHP
# uses: shivammathur/setup-php@v2
# with:
# php-version: 8.2
# extensions: dom, fileinfo, filter, gd, hash, intl, json, mbstring, mysqli, pcre, pdo_mysql, zlib
# coverage: none
# env:
# COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#
# - name: Checkout
# uses: actions/checkout@v3
#
# - name: Install the dependencies
# run: composer install --ignore-platform-req=php --no-interaction --no-progress
#
# - name: Run the unit tests
# run: vendor/bin/phpunit --colors=always
nightly:
name: PHP 8.2
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: dom, fileinfo, filter, gd, hash, intl, json, mbstring, mysqli, pcre, pdo_mysql, zlib
coverage: none
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Checkout
uses: actions/checkout@v3

- name: Install the dependencies
run: composer install --ignore-platform-req=php --no-interaction --no-progress

- name: Run the unit tests
run: vendor/bin/phpunit --colors=always

0 comments on commit bb63548

Please sign in to comment.