-
Notifications
You must be signed in to change notification settings - Fork 29
92 lines (81 loc) · 2.65 KB
/
specs.yml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
name: Specs
on:
push:
branches: [ 4.4 ]
pull_request:
branches: [ 4.4 ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
continue-on-error: false
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
ruby: [ jruby-9.3.14.0, jruby, ruby-3.1.5, ruby ]
neo4j: [ 3.5.35, 4.0.12, 4.1.12, 4.2.19, 4.3.23, 4.4.33, 5.19.0 ]
include:
- neo4j: 3.5.35
java-version: 8
- neo4j: 5.19.0
java-version: 17
options: "-t ~causal"
- neo4j: 5.7.0
ruby: ruby-3.1.5
java-version: 17
options: "-t ~causal"
- neo4j: 5.8.0
ruby: ruby-3.1.5
java-version: 17
options: "-t ~causal"
- neo4j: 5.7.0
ruby: ruby-3.1.5
java-version: 17
options: "-t ~causal"
active_support: 7.0.8.1
- neo4j: 5.7.0
ruby: ruby-3.1.5
java-version: 17
options: "-t ~causal"
active_support: 6.1.7.7
- neo4j: 5.7.0
ruby: ruby-3.1.5
java-version: 17
options: "-t ~causal"
active_support: 6.0.6.1
- neo4j: 5.7.0
ruby: ruby-3.1.5
java-version: 17
options: "-t ~causal"
active_support: 5.2.8.1
env:
NEO4J_VERSION: ${{ matrix.neo4j }}
ACTIVE_SUPPORT_VERSION: ${{ matrix.active_support }}
steps:
- name: Start neo4j
run: docker run --name neo4j --env NEO4J_AUTH=neo4j/pass --env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes --env NEO4J_dbms_security_auth__minimum__password__length=4 -p7687:7687 -p7474:7474 -v `pwd`/tmp:/var/lib/neo4j/import --rm neo4j:${{ matrix.neo4j }}-enterprise &
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.8.x'
- uses: BSFishy/pip-action@v1
with:
packages: git+https://github.com/klobuczek/[email protected]#egg=boltkit
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java-version || 11 }}
- name: Install dependencies
run: bin/setup
- name: Wait for neo4j
run: while [ $((curl localhost:7474/ > /dev/null 2>&1); echo $?) -ne 0 ]; do sleep 1; done
- name: Run tests
run: bundle exec rspec -t ~csv ${{ matrix.options }}