Skip to content

Commit

Permalink
Merge pull request #27 from mlocati/master
Browse files Browse the repository at this point in the history
Fork Sync: Update from parent repository
  • Loading branch information
vanderletenpartners authored Jan 1, 2025
2 parents 003575c + 7c672d8 commit 6f9fba6
Show file tree
Hide file tree
Showing 12 changed files with 32,476 additions and 20 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/check-new-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Check new issue

on:
issues:
types:
- opened

jobs:
check-new-issue:
name: Check issue
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
uses: ./actions/check-new-issue
with:
token: ${{ secrets.GITHUB_TOKEN }}
33 changes: 23 additions & 10 deletions .github/workflows/test-recent-extensions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@ jobs:
name: Determine extension list
runs-on: ubuntu-latest
steps:
- name: Checkout
-
name: Checkout
uses: actions/checkout@v4
- name: Retrieve recently updated extensions
-
name: Retrieve recently updated extensions
run: ./scripts/ci-retrieve-recent-extensions >extensions-updated.txt
- name: Filter supported extensions
-
name: Filter supported extensions
run: |
UPDATED_EXTENSIONS="$(cat extensions-updated.txt)"
if test -z "$UPDATED_EXTENSIONS"; then
Expand All @@ -26,7 +29,8 @@ jobs:
EXTENSIONS_TO_TEST="$(./scripts/ci-filter-supported-extensions "$UPDATED_EXTENSIONS")"
fi
printf "$EXTENSIONS_TO_TEST" > extensions-to-test.txt
- name: Persist list of extensions to be tested
-
name: Persist list of extensions to be tested
uses: actions/upload-artifact@v4
with:
name: artifact
Expand Down Expand Up @@ -61,24 +65,33 @@ jobs:
env:
IPETEST_DOCKER_DISTRO: ${{ matrix.distro }}
steps:
- name: Checkout
-
name: Checkout
uses: actions/checkout@v4
- name: Loading list of extensions to be tested
-
name: Loading list of extensions to be tested
uses: actions/download-artifact@v4
with:
name: artifact
- name: Test extensions
-
name: Test extensions
run: |
EXTENSIONS_TO_TEST="$(cat extensions-to-test.txt)"
if test -z "$EXTENSIONS_TO_TEST"; then
echo 'No extensions to be tested'
else
./scripts/ci-test-extensions from-list "$EXTENSIONS_TO_TEST"
fi
- name: Notify failures
if: failure()
notify-failure:
name: Notify failure
runs-on: ubuntu-latest
if: failure()
needs: test_extensions
steps:
-
name: Send error notification
uses: appleboy/telegram-action@master
with:
token: ${{ secrets.TELEGRAM_TOKEN }}
to: ${{ secrets.TELEGRAM_TO }}
message: Testing recent PHP packages failed on https://github.com/mlocati/docker-php-extension-installer
message: Testing recent PHP packages failed - See https://github.com/mlocati/docker-php-extension-installer/actions/runs/${{ github.run_id }}
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ install-php-extensions @fix_letsencrypt
| mailparse | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| maxminddb | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | | | |
| mcrypt | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| md4c | ✓ | ✓ | ✓ | ✓ | ✓ | | | | | | | |
| memcache | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| memcached | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| memprof[*](#special-requirements-for-memprof) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Expand All @@ -296,7 +297,7 @@ install-php-extensions @fix_letsencrypt
| parallel[*](#special-requirements-for-parallel) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | | |
| parle[*](#special-requirements-for-parle) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | |
| pcntl | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| pcov | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | |
| pcov | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | |
| pdo_dblib | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| pdo_firebird | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| pdo_mysql | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Expand All @@ -319,7 +320,7 @@ install-php-extensions @fix_letsencrypt
| rdkafka | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| recode | | | | | | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| redis | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| relay | | ✓ | ✓ | ✓ | ✓ | ✓ | | | | | | |
| relay | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | | | | | |
| saxon[*](#special-requirements-for-saxon) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | |
| seasclick | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| seaslog | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Expand All @@ -338,7 +339,7 @@ install-php-extensions @fix_letsencrypt
| sqlsrv[*](#special-requirements-for-sqlsrv) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | |
| ssh2 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| stomp | ✓ | ✓ | ✓ | | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| swoole | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| swoole | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| sybase_ct | | | | | | | | | | | ✓ | ✓ |
| sync | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| sysvmsg | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Expand Down Expand Up @@ -373,7 +374,7 @@ install-php-extensions @fix_letsencrypt
| zookeeper | | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| zstd | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
*Number of supported extensions: 151*
*Number of supported extensions: 152*
<!-- END OF EXTENSIONS TABLE -->
PS: the pre-installed PHP extensions are excluded from this list.
Expand Down
1 change: 1 addition & 0 deletions actions/check-new-issue/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/node_modules/
9 changes: 9 additions & 0 deletions actions/check-new-issue/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Check new issue
description: Action triggered when a new issue is opened
inputs:
token:
required: true
description: The value of secrets.GITHUB_TOKEN
runs:
using: node20
main: dist/index.js
Loading

0 comments on commit 6f9fba6

Please sign in to comment.