Skip to content

Commit

Permalink
Add ini values to Scrutinizer configuration (#17)
Browse files Browse the repository at this point in the history
* Add ini values to Scrutinizer configuration

* Update .scrutinizer.yml

* Add ini values to mutation action
  • Loading branch information
devanych committed Dec 25, 2020
1 parent a315265 commit f302bc3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/mutation.yml
Expand Up @@ -12,6 +12,9 @@ jobs:

runs-on: ${{ matrix.os }}

env:
extensions: apcu

strategy:
matrix:
os:
Expand All @@ -28,9 +31,9 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php }}"
ini-values: memory_limit=-1
ini-values: memory_limit=-1, apc.enable=1, apc.enable_cli=1
coverage: "pcov"
tools: composer:v2
tools: composer:v2, pecl

- name: Determine composer cache directory
run: echo "COMPOSER_CACHE_DIR=$(composer config cache-dir)" >> $GITHUB_ENV
Expand Down
14 changes: 10 additions & 4 deletions .scrutinizer.yml
Expand Up @@ -9,7 +9,11 @@ build:
nodes:
analysis:
environment:
php: 7.4.12
php:
version: 7.4.12
ini:
apc.enable: 1
apc.enable_cli: 1

dependencies:
override:
Expand All @@ -21,7 +25,11 @@ build:

tests-and-coverage:
environment:
php: 7.4.12
php:
version: 7.4.12
ini:
apc.enable: 1
apc.enable_cli: 1

dependencies:
override:
Expand All @@ -37,5 +45,3 @@ build:
coverage:
file: coverage.xml
format: php-clover


0 comments on commit f302bc3

Please sign in to comment.