Skip to content

Commit

Permalink
spin up docker
Browse files Browse the repository at this point in the history
  • Loading branch information
sierra-moxon committed Nov 29, 2023
1 parent beda6de commit 2ca0702
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/check-dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
- name: Clone KGX and install dev branch of bmt
run: |
cd ../
pwd
git clone https://github.com/biolink/kgx.git
cd kgx
poetry install # this will install a different version of hdmf from the current one
Expand All @@ -55,17 +56,23 @@ jobs:
- name: Setup Neo4j Docker
run: |
cd ../
pwd
cd kgx
docker run --detach --name kgx-neo4j-unit-test -p 8484:7474 -p 8888:7687 --env NEO4J_AUTH=neo4j/test neo4j:4.3.0
docker run --detach --name kgx-neo4j-integration-test -p 7474:7474 -p 7687:7687 --env NEO4J_AUTH=neo4j/test neo4j:4.3.0
docker ps -a
- name: Wait
uses: jakejarvis/wait-action@master
with:
time: '45s'

- name: Run kgx tests
run: |
cd ../
pwd
cd kgx
poetry run pytest tests/unit/test_source/*.py
poetry run pytest tests/unit/test_sink/*.py
poetry run pytest tests/unit/*.py
Expand Down

0 comments on commit 2ca0702

Please sign in to comment.