diff --git a/.github/workflows/php83.yml b/.github/workflows/php83.yml new file mode 100644 index 0000000..e201b68 --- /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@v1 + + - 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 c5a187b..5999bf4 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Basic class library to read, write and view files using PHP.

- + @@ -35,14 +35,15 @@ Basic class library to read, write and view files using PHP. ## Supported PHP Versions | Build Status | |:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| -| | -| | -| | -| | -| | -| | -| | -| | +| | +| | +| | +| | +| | +| | +| | +| | +| | ## Main Aim of The Library The main aim of the library is to have an OOP abstraction that simplifies most common operations with files in PHP.