forked from ldbc/ldbc_snb_interactive_v1_impls
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yml
More file actions
64 lines (63 loc) · 1.67 KB
/
Copy pathconfig.yml
File metadata and controls
64 lines (63 loc) · 1.67 KB
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
version: 2.1
orbs:
slack: circleci/slack@3.4.2
workflows:
version: 2
build:
jobs:
- test:
filters:
branches:
ignore:
- stable
jobs:
test:
resource_class: large
machine:
image: ubuntu-2004:202008-01
steps:
- checkout
- run:
name: Setup
command: |
export DEBIAN_FRONTEND=noninteractive
sudo apt update
# install dependencies
sudo apt install -y curl git wget unzip maven netcat
# driver
git clone --depth 1 --branch dev https://github.com/ldbc/ldbc_snb_driver && cd ldbc_snb_driver && mvn install -DskipTests && cd ..
# Cypher
cd cypher
scripts/install-dependencies.sh
cd ..
# PostgreSQL
# TODO
- run:
name: Download data
command: |
mkdir data/
cd data
wget -q https://ldbc.github.io/ldbc_snb_data_converter/csv-composite-projected-fk.zip
unzip csv-composite-projected-fk.zip
cd ..
- run:
name: Load
command: |
# PostgreSQL
# TODO
# Cypher
cd cypher
. scripts/environment-variables-default.sh
export NEO4J_CSV_DIR=`pwd`/../data/csv-composite-projected-fk
export NEO4J_CSV_POSTFIX=.csv
scripts/load-in-one-step.sh
cd ..
- run:
name: Test
command: mvn test -B
- run:
name: Run Cypher Python script
command: |
cd cypher
python3 bi.py
- slack/status