Skip to content

Commit

Permalink
Release 1.5.0 (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
othercodes authored Oct 10, 2023
2 parents 3b51964 + 625beef commit 2d7dd4a
Show file tree
Hide file tree
Showing 43 changed files with 1,164 additions and 1,245 deletions.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Global owners.
* @othercodes
44 changes: 44 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Tests

on:
pull_request:
types: [ opened, synchronize, reopened ]

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
php-version:
- "7.4"
- "8.0"
- "8.1"

steps:
- name: Checkout source code
uses: actions/checkout@v2

- name: Install PHP ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring,xmlrpc,xml,json
coverage: pcov
tools: composer:v2

- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.composer/cache
key: php-${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: php-${{ matrix.php-version }}-composer-

- name: Validate composer.json and composer.lock
run: composer validate

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest

- name: Execute tests (Unit and Feature tests) via PHPUnit
run: composer test
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea/
vendor/
composer.lock
composer.lock
.phpunit.result.cache
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit 2d7dd4a

Please sign in to comment.