Skip to content

Commit

Permalink
Merge pull request #15 from WebFiori/dev
Browse files Browse the repository at this point in the history
Added PHP 8.3
  • Loading branch information
usernane authored Dec 3, 2023
2 parents b6f7327 + 703de96 commit 53dec65
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 10 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/php83.yml
Original file line number Diff line number Diff line change
@@ -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
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ A basic library for sending HTML based emails using PHP.


<p align="center">
<a target="_blank" href="https://github.com/WebFiori/mail/actions/workflows/php82.yml">
<img src="https://github.com/WebFiori/mail/workflows/Build%20PHP%208.2/badge.svg?branch=main">
<a target="_blank" href="https://github.com/WebFiori/mail/actions/workflows/php83.yml">
<img src="https://github.com/WebFiori/mail/actions/workflows/php83.yml/badge.svg?branch=main">
</a>
<a href="https://codecov.io/gh/WebFiori/mail">
<img src="https://codecov.io/gh/WebFiori/mail/branch/main/graph/badge.svg" />
Expand All @@ -23,14 +23,15 @@ A basic library for sending HTML based emails using PHP.
## Supported PHP Versions
| Build Status |
|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
| <a target="_blank" href="https://github.com/WebFiori/mail/actions/workflows/php70.yml"><img src="https://github.com/WebFiori/mail/workflows/Build%20PHP%207.0/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/mail/actions/workflows/php71.yml"><img src="https://github.com/WebFiori/mail/workflows/Build%20PHP%207.1/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/mail/actions/workflows/php72.yml"><img src="https://github.com/WebFiori/mail/workflows/Build%20PHP%207.2/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/mail/actions/workflows/php73.yml"><img src="https://github.com/WebFiori/mail/workflows/Build%20PHP%207.3/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/mail/actions/workflows/php74.yml"><img src="https://github.com/WebFiori/mail/workflows/Build%20PHP%207.4/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/mail/actions/workflows/php80.yml"><img src="https://github.com/WebFiori/mail/workflows/Build%20PHP%208.0/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/mail/actions/workflows/php81.yml"><img src="https://github.com/WebFiori/mail/workflows/Build%20PHP%208.1/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/mail/actions/workflows/php82.yml"><img src="https://github.com/WebFiori/mail/workflows/Build%20PHP%208.2/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/mail/actions/workflows/php70.yml"><img src="https://github.com/WebFiori/mail/actions/workflows/php70.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/mail/actions/workflows/php71.yml"><img src="https://github.com/WebFiori/mail/actions/workflows/php71.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/mail/actions/workflows/php72.yml"><img src="https://github.com/WebFiori/mail/actions/workflows/php72.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/mail/actions/workflows/php73.yml"><img src="https://github.com/WebFiori/mail/actions/workflows/php73.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/mail/actions/workflows/php74.yml"><img src="https://github.com/WebFiori/mail/actions/workflows/php74.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/mail/actions/workflows/php80.yml"><img src="https://github.com/WebFiori/mail/actions/workflows/php80.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/mail/actions/workflows/php81.yml"><img src="https://github.com/WebFiori/mail/actions/workflows/php81.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/mail/actions/workflows/php82.yml"><img src="https://github.com/WebFiori/mail/actions/workflows/php82.yml/badge.svg?branch=main"></a> |
| <a target="_blank" href="https://github.com/WebFiori/mail/actions/workflows/php83.yml"><img src="https://github.com/WebFiori/mail/actions/workflows/php83.yml/badge.svg?branch=main"></a> |

## In This Page:
* [Usage](#usage)
Expand Down

0 comments on commit 53dec65

Please sign in to comment.