Skip to content

Commit f5d5913

Browse files
committed
setup ci
1 parent cd14068 commit f5d5913

File tree

6 files changed

+96
-0
lines changed

6 files changed

+96
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Create client with neo4j scheme
16+
2. Open transaction
17+
3. Commit transaction
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- Library version: [e.g. 2.0.8, use `composer show -i laudis/neo4j-php-client` and `composer show -i neo4j/neo4j-bundle` to find out]
28+
- Neo4j Version: [e.g. 4.2.1, aura, use `neo4j version` to find out]
29+
- PHP version: [e.g. 8.0.2, use `php -v` to find out]
30+
- OS: [e.g. Linux, 5.13.4-1-MANJARO, Windows 10]
31+
32+
**Additional context**
33+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/workflows/ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Static Analysis
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
php-cs-fixer:
13+
name: "Lint & Analyse"
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Cache Composer dependencies
18+
uses: actions/cache@v2
19+
with:
20+
path: /tmp/composer-cache
21+
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
22+
- uses: php-actions/composer@v6
23+
with:
24+
progress: yes
25+
php_version: 8.0
26+
version: 2
27+
- name: "PHP-CS-Fixer"
28+
run: vendor/bin/php-cs-fixer fix --dry-run
29+
- name: "PSalm"
30+
run: vendor/bin/psalm --show-info=true
31+
- uses: php-actions/phpunit@v3
32+
with:
33+
configuration: phpunit.xml.dist
34+
php_version: 8.2
35+
memory_limit: 1024M
36+
version: 9
37+
testsuite: Unit
38+
bootstrap: vendor/autoload.php

.idea/neo4j-symfony.iml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/php.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/phpspec.xml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)