diff --git a/.github/workflows/graph-tests.yml b/.github/workflows/graph-tests.yml index 674dc14..5eefcfe 100644 --- a/.github/workflows/graph-tests.yml +++ b/.github/workflows/graph-tests.yml @@ -43,11 +43,12 @@ jobs: 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 echo 'starting database...' neo4j start - - name: Run tests # cat /etc/neo4j/neo4j.conf , echo 'test string' > .github/graph_test_logs/logfile.txt + - name: Change password # cat /etc/neo4j/neo4j.conf , echo 'test string' > .github/graph_test_logs/logfile.txt run: | pwd;ls; echo '---------------------------------------' - echo ALTER CURRENT USER SET PASSWORD FROM 'neo4j' TO 'neo4j2020' | bin/cypher-shell - python3 tests/Petagraph_ingestion_test_auto.py + echo ALTER CURRENT USER SET PASSWORD FROM 'neo4j' TO 'neo4j2020' | /var/lib/neo4j/bin/cypher-shell + - name: Run Tests + run: python3 tests/Petagraph_ingestion_test_auto.py - name: Upload Artifact uses: actions/upload-artifact@v3