Skip to content

Updates #37

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 17, 2021
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
32 changes: 32 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI
on:
- push
- pull_request
jobs:
build:
strategy:
matrix:
dependencies:
- highest
- lowest
php-versions:
- 7.3
- 7.4
- 8.0
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}

- name: Install dependencies with Composer
uses: ramsey/composer-install@v1
with:
dependency-versions: ${{ matrix.dependencies }}

- name: Run unit tests
run: vendor/bin/phpunit
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/vendor/
composer.lock
infection.log
.phpunit.result.cache
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

9 changes: 4 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"psr-11"
],
"require": {
"php": "^7.2",
"php": "^7.3 || ^8.0",
"maximebf/debugbar": "^1.4",
"psr/http-server-handler": "^1.0",
"psr/http-server-middleware": "^1.0",
Expand All @@ -22,14 +22,13 @@
"psr/http-factory-implementation": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^8.5.4 || ^9.1.4",
"mikey179/vfsStream": "^1.6.8",
"phpunit/phpunit": "^9.1.4",
"mikey179/vfsstream": "^1.6.8",
"slim/slim": "^3.0",
"mezzio/mezzio": "^3.0",
"mezzio/mezzio-fastroute": "^3.0.1",
"laminas/laminas-servicemanager": "^3.3.2",
"laminas/laminas-diactoros": "^2.0",
"infection/infection": "^0.13.3"
"laminas/laminas-diactoros": "^2.0"
},
"autoload": {
"psr-4": {
Expand Down
14 changes: 0 additions & 14 deletions infection.json.dist

This file was deleted.