Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Rewrite
This is a full rewrite of this package including the following features/changes:
* ext-uv adapter
* child process adapter
* fallback (blocking) adapter (for native Windows)
* simplified the internals to remove unnecessary complexity
* file_get_contents/file_put_contents like API to read/write from/to files
* start has become an object instead of an array

This PR doesn't include the following features/changes as those will be added in with followup PR's:
* ext-eio adapter
* macos support
* mode support to define permissions when creating files/directories
* symlinks read/creating/deleting
* deleting of directories
  • Loading branch information
WyriHaximus committed Feb 9, 2022
commit 016ceaa08931af3000fc2bd5f51ca0a2a09bb19f
51 changes: 51 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: CI

on:
push:
pull_request:

jobs:
PHPUnit:
name: PHPUnit (PHP ${{ matrix.php }} with ${{ matrix.extensions }} on ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
php:
- "8.1"
- "8.0"
- "7.4"
extensions:
- ""
- "uv-amphp/ext-uv@master"
steps:
- uses: actions/checkout@v2
- name: Install libuv
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install libuv1-dev
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: pcov
extensions: ${{ matrix.extensions }}
- run: composer install
- run: vendor/bin/phpunit --coverage-text --debug
PHPUnit-Docker:
name: PHPUnit (PHP ${{ matrix.php }} on Docker)
runs-on: ubuntu-latest
container:
image: wyrihaximusnet/php:${{ matrix.php }}-nts-alpine-slim-dev-root
strategy:
fail-fast: false
matrix:
php:
- "8.1"
- "8.0"
- "7.4"
steps:
- uses: actions/checkout@v2
- run: composer install
- run: vendor/bin/phpunit --coverage-text
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
vendor
.phpunit.result.cache
29 changes: 0 additions & 29 deletions .travis.yml

This file was deleted.

Loading