Skip to content

Commit

Permalink
Merge pull request #97 from WyriHaximus-labs/rewrite
Browse files Browse the repository at this point in the history
Rewrite
  • Loading branch information
clue authored Feb 9, 2022
2 parents fc89dc2 + 016ceaa commit 5fae489
Show file tree
Hide file tree
Showing 133 changed files with 4,759 additions and 8,098 deletions.
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

0 comments on commit 5fae489

Please sign in to comment.