Skip to content

Commit

Permalink
Install PEAR, only run on ubuntu for now
Browse files Browse the repository at this point in the history
  • Loading branch information
mrook committed Dec 8, 2020
1 parent b4e25d6 commit 4e2933a
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build.yml
Expand Up @@ -10,9 +10,9 @@ jobs:
strategy:
fail-fast: true
matrix:
operating-system: [ ubuntu-latest, macos-latest, windows-latest ]
operating-system: [ ubuntu-latest ]
php: [ '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0' ]
dependencies: [ 'lowest', 'locked' ]
dependencies: [ 'locked' ]

name: PHP ${{ matrix.php }} on ${{ matrix.operating-system }} with ${{ matrix.dependencies }} dependencies

Expand All @@ -21,19 +21,21 @@ jobs:
name: Checkout repository

- name: Setup PHP
uses: nanasess/setup-php@master
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}

- uses: ramsey/composer-install@v1
with:
dependency-versions: ${{ matrix.dependencies }}
composer-options: ${{ matrix.composer-options }}

- name: Install PEAR
run: |
apt-get install php-pear
- name: Run tests
working-directory: test
run: |
pear install -f package.xml
pear version
pear run-tests -qr tests/
pear run-tests -qr tests/ || cat run-tests.log
for i in `find tests/ -name '*.out'`; do echo "$i"; cat "$i"; done

0 comments on commit 4e2933a

Please sign in to comment.