Skip to content

Update php83.yml

Update php83.yml #55

Workflow file for this run

name: Build PHP 8.4
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main ]
env:
OPERATING_SYS: ubuntu-latest
PHP_VERSION: 8.4
jobs:
test:
runs-on: "ubuntu-latest"
name: "PHP 8.4 - Ubuntu-Latest"
steps:
- name: Clone Repo
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ env.PHP_VERSION }}
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
- name: Execute Tests
run: phpunit --configuration=tests/phpunit.xml
- name: CodeCov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}