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
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