forked from doctrine/dbal
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 3.8.x: Properly handle MySQL error code 4031 from PHP 8.4 (doctrine#6363) CI: Add MySQL 9, reduce test matrix (doctrine#6462) Complete sentence mariadb: add nightly workflow to facilitate mariadb "nightlies" (doctrine#6435)
- Loading branch information
Showing
5 changed files
with
83 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
name: "Continuous Integration (Nightly)" | ||
|
||
on: | ||
schedule: | ||
- cron: "12 3 * * *" | ||
|
||
env: | ||
fail-fast: true | ||
|
||
jobs: | ||
phpunit-mariadb: | ||
name: "PHPUnit with MariaDB" | ||
runs-on: "ubuntu-24.04" | ||
|
||
strategy: | ||
matrix: | ||
php-version: | ||
- "7.4" | ||
- "8.3" | ||
mariadb-version: | ||
- "earliest" | ||
- "verylatest" | ||
extension: | ||
- "mysqli" | ||
- "pdo_mysql" | ||
|
||
services: | ||
mariadb: | ||
image: "quay.io/mariadb-foundation/mariadb-devel:${{ matrix.mariadb-version }}" | ||
env: | ||
MARIADB_ALLOW_EMPTY_ROOT_PASSWORD: yes | ||
MARIADB_DATABASE: "doctrine_tests" | ||
|
||
options: >- | ||
--health-cmd "healthcheck.sh --connect --innodb_initialized" | ||
ports: | ||
- "3306:3306" | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: "actions/checkout@v4" | ||
with: | ||
fetch-depth: 2 | ||
|
||
- name: "Install PHP" | ||
uses: "shivammathur/setup-php@v2" | ||
with: | ||
php-version: "${{ matrix.php-version }}" | ||
coverage: "pcov" | ||
ini-values: "zend.assertions=1" | ||
extensions: "${{ matrix.extension }}" | ||
|
||
- name: "Install dependencies with Composer" | ||
uses: "ramsey/composer-install@v3" | ||
with: | ||
composer-options: "--ignore-platform-req=php+" | ||
|
||
- name: "Run PHPUnit" | ||
run: "vendor/bin/phpunit -c ci/github/phpunit/${{ matrix.extension }}.xml" | ||
|
||
- name: Tell the MariaDB Folks if it failed | ||
if: ${{ failure() }} | ||
uses: zulip/github-actions-zulip/send-message@v1 | ||
with: | ||
api-key: ${{ secrets.MARIADB_ZULIP_API_KEY }} | ||
email: "doctrine-bot@mariadb.zulipchat.com" | ||
organization-url: "https://mariadb.zulipchat.com" | ||
to: "Buildbot" | ||
type: "stream" | ||
topic: "CI - Doctrine/DBAL" | ||
content: "There was an error running Doctrine on MariaDB:${{ matrix.mariadb-version }} - URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters