Skip to content

Commit

Permalink
Attempting to fix failing build.
Browse files Browse the repository at this point in the history
For reference, I can reproduce when running tests through PHP 8.0.
  - sebastianbergmann/phpunit#4373
  • Loading branch information
accu-clw committed Jan 2, 2021
1 parent efaeaa9 commit 0e3f8db
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PHP Composer
name: CI

on:
push:
Expand All @@ -14,8 +14,14 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.1
coverage: none

- name: Validate composer.json and composer.lock
run: php7.1 /usr/bin/composer validate
run: composer validate

- name: Cache Composer packages
id: composer-cache
Expand All @@ -28,7 +34,7 @@ jobs:
- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: php7.1 /usr/bin/composer install --prefer-dist --no-progress --no-suggest
run: composer install --prefer-dist --no-progress --no-suggest

- name: Run test suite
run: php7.1 /usr/bin/composer run-script test
run: composer run-script test

0 comments on commit 0e3f8db

Please sign in to comment.