Skip to content

Commit eb6403a

Browse files
committed
setup neo4j aura testing
1 parent 44adf79 commit eb6403a

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Integration Tests
2+
3+
on:
4+
push:
5+
branches: [ '**' ]
6+
pull_request:
7+
branches: ['**']
8+
9+
jobs:
10+
tests:
11+
runs-on: ubuntu-latest
12+
env:
13+
CONNECTIONS: $AURA_CONNECTIONS
14+
name: "Running Integration tests for PHP ${{ matrix.php-version }} on a Neo4j Aura Instance"
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
php-version: ["8.0", "8.2"]
19+
20+
steps:
21+
- uses: actions/checkout@v2
22+
- name: Cache Composer dependencies
23+
uses: actions/cache@v2
24+
with:
25+
path: /tmp/composer-cache
26+
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
27+
- uses: php-actions/composer@v6
28+
with:
29+
progress: yes
30+
php_version: ${{ matrix.php-version }}
31+
version: 2
32+
- name: Run unit tests
33+
run: vendor/bin/phpunit --testsuite Integration

0 commit comments

Comments
 (0)