Skip to content

Commit

Permalink
Update download-neo4j.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
benstear authored Nov 19, 2023
1 parent a5df9be commit 14348ca
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/download-neo4j.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,20 @@ jobs:
run: |
mv reduced_csvs_github_actions/C*.csv /var/lib/neo4j/import/;
ls /var/lib/neo4j/import/;
- name: df check 4
run: df -h
- name: Build Petagraph #
run: |
rm -rf /var/lib/neo4j/data/databases/*
rm -rf /var/lib/neo4j/data/transactions/*
cd /var/lib/neo4j/
export HEAP_SIZE=1G
export HEAP_SIZE=1.2G
echo heapsize = $HEAP_SIZE
neo4j-admin import --verbose --nodes=Concept="import/CUIs.csv" --relationships="import/CUI-CUIs.csv" --nodes=Code="import/CODEs.csv" --relationships=CODE="import/CUI-CODEs.csv" --skip-bad-relationships --skip-duplicate-nodes
neo4j start
- name: neo4j commands
run: |
cat /etc/neo4j/neo4j.conf
neo4j start


0 comments on commit 14348ca

Please sign in to comment.