Skip to content

Commit

Permalink
minimal version php >= 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vEnCa-X committed Jan 13, 2024
1 parent 3c50755 commit 76ab512
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.4', '8.0', '8.1']
php: ['8.0', '8.2', '8.3']

fail-fast: false

name: PHP ${{ matrix.php }} tests
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
Expand All @@ -22,7 +22,7 @@ jobs:
- run: composer install --no-progress --prefer-dist
- run: vendor/bin/tester tests -s -C
- if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: output
path: tests/**/output
Expand All @@ -32,7 +32,7 @@ jobs:
name: Lowest Dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: 8.0
Expand All @@ -46,15 +46,15 @@ jobs:
name: Code Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.1
coverage: none

- run: composer install --no-progress --prefer-dist
- run: vendor/bin/tester -p phpdbg tests -s -C --coverage ./coverage.xml --coverage-src ./src
- run: wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.5.2/php-coveralls.phar
- run: wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.4.3/php-coveralls.phar
- env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS }}
run: php php-coveralls.phar --verbose --config tests/.coveralls.yml
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Nette addon. Viewer and picker for Google maps
| Version | PHP     | Recommended Nette |
| --- | --- | --- |
| dev-master | \>= 7.4 | Nette 3.0 (Nette\SmartObject) |
| 1.3.x | \>= 7.2 | Nette 3.0 (Nette\SmartObject) |
| 1.3.x | \>= 8.0 | Nette 3.0 (Nette\SmartObject) |
| 1.2.x | \>= 7.1 | Nette 2.4 (Nette\SmartObject) |
| 1.1.x | \>= 5.3.7 | Nette 2.4, 2.3 (Nette\Object) |
| 1.0.x | \>= 5.3.7 | Nette 2.4, 2.3 (Nette\Object) |
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"require": {
"php": ">=7.4",
"php": ">=8.0",
"nette/application": "^3.0",
"nette/bootstrap": "^3.0",
"nette/utils": "^4.0",
Expand Down

0 comments on commit 76ab512

Please sign in to comment.