-
-
Notifications
You must be signed in to change notification settings - Fork 11
36 lines (29 loc) · 954 Bytes
/
Copy pathmemgraph.yml
File metadata and controls
36 lines (29 loc) · 954 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Tests with Memgraph on PHP 8.5
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
branches: [ master ]
jobs:
memgraph-tests:
if: ${{ github.event.pull_request.draft == false }}
runs-on: ubuntu-22.04
name: "Running Integration tests for PHP on Memgraph"
services:
memgraph:
image: memgraph/memgraph
ports:
- 7687:7687
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.5'
extensions: mbstring, sockets
coverage: xdebug
ini-values: max_execution_time=0, variables_order="EGPCS"
- name: Install dependencies
run: composer install --no-progress
- name: Test with phpunit
run: vendor/bin/phpunit --configuration phpunit.xml --testsuite "Memgraph"