Skip to content

Commit

Permalink
Run Infection on PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sidz committed Aug 9, 2021
1 parent 5c6b61f commit 0357aae
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yaml
Expand Up @@ -24,8 +24,9 @@ jobs:
- { operating-system: 'windows-latest', php-version: '7.4', dependencies: '', coverage-driver: 'xdebug' }
- { operating-system: 'ubuntu-latest', php-version: '7.4', dependencies: '--prefer-lowest', coverage-driver: 'pcov' }
- { operating-system: 'ubuntu-latest', php-version: '8.0', dependencies: '--ignore-platform-req=php', coverage-driver: 'pcov' }
- { operating-system: 'ubuntu-latest', php-version: '8.1', dependencies: '--ignore-platform-req=php', coverage-driver: 'pcov' }

continue-on-error: ${{ matrix.php-version == '8.0' }}
continue-on-error: ${{ matrix.php-version == '8.1' }}
name: CI on ${{ matrix.operating-system }} with PHP ${{ matrix.php-version }}, using ${{ matrix.coverage-driver }} ${{ matrix.dependencies }}

steps:
Expand All @@ -40,14 +41,10 @@ jobs:
ini-values: memory_limit=512M
tools: composer:v2

- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"

- name: Cache dependencies
uses: actions/cache@v2
with:
path: ${{ steps.composer-cache.outputs.dir }}
path: ~/.cache/composer
key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}-${{ matrix.dependencies }}
restore-keys: |
composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }}-
Expand Down Expand Up @@ -99,7 +96,6 @@ jobs:
sudo apt-get install -y --no-install-recommends expect
- name: Run the whole set of E2E tests
continue-on-error: ${{ matrix.php-version == '8.0' }}
if: runner.os != 'Windows'
env:
TERM: xterm-256color
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -51,7 +51,7 @@
"infection/extension-installer": "^0.1.0",
"infection/include-interceptor": "^0.2.4",
"justinrainbow/json-schema": "^5.2.10",
"nikic/php-parser": "^4.10.3",
"nikic/php-parser": "^4.12",
"ocramius/package-versions": "^1.9.0 || ^2.0",
"ondram/ci-detector": "^3.3.0",
"sanmai/later": "^0.1.1",
Expand Down
16 changes: 8 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0357aae

Please sign in to comment.