Skip to content

Commit

Permalink
Updates (#37)
Browse files Browse the repository at this point in the history
* Updates
* Remove travis and migrate to GA
* Remove infection
  • Loading branch information
snapshotpl authored Nov 17, 2021
1 parent fa7fa05 commit 133763e
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 42 deletions.
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.

0 comments on commit 133763e

Please sign in to comment.