Skip to content

Commit

Permalink
Update graph-tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
benstear authored Nov 20, 2023
1 parent 66be684 commit 76f6a38
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/graph-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 76f6a38

Please sign in to comment.