Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace client #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
44 changes: 44 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Main

on: [push, pull_request]

jobs:
phpunit:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.0, 8.1]
name: PHP ${{ matrix.php }}
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
tools: php-cs-fixer:3

- name: Checkout
uses: actions/checkout@v3

- name: Run PHP CS Fixer
run: php-cs-fixer fix --diff --dry-run

- name: Install
uses: "ramsey/composer-install@v2"

- name: Run tests
run: ./vendor/bin/phpunit
services:
neo4j:
image: neo4j
ports:
- 7687:7687
- 7474:7474
env:
NEO4J_AUTH: none
options: >-
--health-cmd "wget http://localhost:7474 || exit 1"
--health-interval 1s
--health-timeout 10s
--health-retries 20
--health-start-period 3s
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
vendor/
composer.lock
.DS_Store
.DS_Store
.phpunit.result.cache
18 changes: 18 additions & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

$finder = PhpCsFixer\Finder::create()
->in(__DIR__)
->exclude('.github')
->exclude('vendor')
;

$config = new PhpCsFixer\Config();

return $config
->setRules([
'@PSR12' => true,
'@Symfony' => true,
])
->setUsingCache(false)
->setFinder($finder)
;
9 changes: 0 additions & 9 deletions .styleci.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

Loading