From 703de9664997caf6edd5f78baeb8a877263489b1 Mon Sep 17 00:00:00 2001 From: Ibrahim BinAlshikh Date: Mon, 4 Dec 2023 02:23:46 +0300 Subject: [PATCH] Added PHP 8.3 --- .github/workflows/php83.yml | 42 +++++++++++++++++++++++++++++++++++++ README.md | 21 ++++++++++--------- 2 files changed, 53 insertions(+), 10 deletions(-) create mode 100644 .github/workflows/php83.yml diff --git a/.github/workflows/php83.yml b/.github/workflows/php83.yml new file mode 100644 index 0000000..a55f775 --- /dev/null +++ b/.github/workflows/php83.yml @@ -0,0 +1,42 @@ +name: Build PHP 8.3 + +on: + push: + branches: [ main, dev ] + pull_request: + branches: [ main ] + +jobs: + test: + runs-on: ${{ matrix.os }} + + strategy: + fail-fast: true + matrix: + os: [ ubuntu-latest ] + php: [8.3] + + name: PHP${{matrix.php}} - ${{matrix.os}} + + steps: + - name: Clone Repo + uses: actions/checkout@v4 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php }} + extensions: mysqli, mbstring, sqlsrv + tools: phpunit:9.5.20, composer + + - name: Shutdown Ubuntu MySQL + run: sudo service mysql stop + + - name: Install Dependencies + run: composer install --prefer-dist --no-interaction + + - name: Execute Tests + run: phpunit + + - name: CodeCov + uses: codecov/codecov-action@v1 \ No newline at end of file diff --git a/README.md b/README.md index 953a9b1..28e1396 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ A basic library for sending HTML based emails using PHP.

- - + + @@ -23,14 +23,15 @@ A basic library for sending HTML based emails using PHP. ## Supported PHP Versions | Build Status | |:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| -| | -| | -| | -| | -| | -| | -| | -| | +| | +| | +| | +| | +| | +| | +| | +| | +| | ## In This Page: * [Usage](#usage)