Skip to content

Commit ad0f121

Browse files
badamsByron Adams
authored andcommitted
#1 Adding Filter Arg to deleteRule, also adding tests.
1 parent d0e677d commit ad0f121

File tree

7 files changed

+1048
-333
lines changed

7 files changed

+1048
-333
lines changed

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: continuous-integration
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
8+
jobs:
9+
phpunit:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v1
13+
- name: Setup PHP
14+
uses: shivammathur/setup-php@master
15+
with:
16+
php-version: '7.3'
17+
extension-csv: mbstring,bcmath,curl,gettext,exif,intl,opcache,pdo_mysql
18+
ini-values-csv: pcov.directory=./
19+
coverage: pcov
20+
- name: Composer Cache
21+
uses: actions/cache@v1
22+
with:
23+
path: ~/.composer-cache
24+
key: ${{ runner.OS }}-composer-cache
25+
- name: Composer
26+
run: |
27+
composer config cache-files-dir ~/.composer-cache
28+
composer install --no-progress --no-suggest --prefer-dist --optimize-autoloader
29+
- name: PHPUnit
30+
run: ./vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
/vendor
2-
/.idea
2+
/.idea
3+
.phpunit.result.cache
4+
/build

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
}
2020
],
2121
"require": {
22-
"yiisoft/yii2": "~2.0.0"
22+
"yiisoft/yii2": "^2.0.13"
2323
},
2424
"require-dev": {
25-
"phpunit/phpunit": "~4.0"
25+
"phpunit/phpunit": "^8.4.0"
2626
},
2727
"autoload": {
2828
"psr-4": {

0 commit comments

Comments
 (0)