Skip to content

Commit

Permalink
tested on PHP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Nov 2, 2020
1 parent f19ff4c commit e0ab744
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
php: ['7.1', '7.2', '7.3', '7.4']
php: ['7.1', '7.2', '7.3', '7.4', '8.0']

fail-fast: false

name: PHP ${{ matrix.php }} tests on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v1
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: simplexml
Expand All @@ -27,10 +27,10 @@ jobs:
- run: src/tester tests -s -C
shell: bash
- if: failure()
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v2
with:
name: output
path: tests
path: tests/**/output


# failing_test:
Expand All @@ -52,7 +52,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v1
- uses: shivammathur/setup-php@v2
with:
php-version: 7.4
extensions: simplexml
Expand Down
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ php:
- 7.2
- 7.3
- 7.4
- 8.0snapshot

env:
- PHP_BIN=php
Expand Down Expand Up @@ -63,7 +64,7 @@ jobs:
- stage: Code Coverage


sudo: false
dist: xenial

cache:
directories:
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ composer require nette/tester --dev

Alternatively, you can download the [tester.phar](https://github.com/nette/tester/releases) file.

- Nette Tester 2.3 is compatible with PHP 7.1 to 7.4
- Nette Tester 2.3 is compatible with PHP 7.1 to 8.0
- Nette Tester 2.1 & 2.2 is compatible with PHP 7.1 to 7.3
- Nette Tester 2.0 is compatible with PHP 5.6 to 7.3

Expand Down

0 comments on commit e0ab744

Please sign in to comment.