Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 5 additions & 16 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.2', '7.3', '7.4']
php-versions: ['7.2', '7.3', '7.4', '8.0']
neo4j-versions: ['3.3', '3.4', '3.5', '4.0']
include:
- neo4j-versions: 3.3
Expand All @@ -36,29 +36,18 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
extensions: zip, curl, bcmath, mbstring

- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress --no-suggest

- name: Lint
run: composer lint

- name: Test
env:
BOLT_VERSION: ${{ matrix.bolt-version }}
run: composer test

- name: Coverage
uses: codecov/codecov-action@v1


2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
}
},
"require-dev": {
"phpunit/phpunit": "^4.8",
"phpunit/phpunit": "^8.0",
"symfony/stopwatch": "^2.7",
"squizlabs/php_codesniffer": "3.*"
},
Expand Down
Loading