Skip to content

Commit

Permalink
Merge pull request #40 from WebFiori/update-ci
Browse files Browse the repository at this point in the history
CI/CD for PHP 8.3
  • Loading branch information
usernane committed Nov 28, 2023
2 parents c8d4db1 + 10097b4 commit dba6b3e
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
42 changes: 42 additions & 0 deletions .github/workflows/php83.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Build PHP 8.3

on:
push:
branches: [ master, dev ]
pull_request:
branches: [ master ]

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-source --no-interaction --no-dev

- name: Execute Tests
run: phpunit

- name: CodeCov
uses: codecov/codecov-action@v1
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ A set of classes that provide basic web pages creation utilities in addition to

<p align="center">
<a href="https://github.com/WebFiori/database/actions">
<img src="https://github.com/WebFiori/ui/workflows/Build%20PHP%208.2/badge.svg?branch=master">
<img src="https://github.com/WebFiori/ui/workflows/Build%20PHP%208.3/badge.svg?branch=master">
</a>
<a href="https://codecov.io/gh/WebFiori/ui">
<img src="https://codecov.io/gh/WebFiori/ui/branch/master/graph/badge.svg" />
Expand Down Expand Up @@ -43,6 +43,7 @@ A set of classes that provide basic web pages creation utilities in addition to
| <a target="_blank" href="https://github.com/WebFiori/ui/actions/workflows/php80.yml"><img src="https://github.com/WebFiori/ui/workflows/Build%20PHP%208.0/badge.svg?branch=master"></a> |
| <a target="_blank" href="https://github.com/WebFiori/ui/actions/workflows/php81.yml"><img src="https://github.com/WebFiori/ui/workflows/Build%20PHP%208.1/badge.svg?branch=master"></a> |
| <a target="_blank" href="https://github.com/WebFiori/ui/actions/workflows/php82.yml"><img src="https://github.com/WebFiori/ui/workflows/Build%20PHP%208.2/badge.svg?branch=master"></a> |
| <a target="_blank" href="https://github.com/WebFiori/ui/actions/workflows/php83.yml"><img src="https://github.com/WebFiori/ui/workflows/Build%20PHP%208.3/badge.svg?branch=master"></a> |

## Features
* Ability to create custom HTML UI Elements in OOP approach.
Expand Down

0 comments on commit dba6b3e

Please sign in to comment.