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 6b6fb3c commit 3927b14
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
rm -rf poetry.lock
poetry install
- name: Run tests
- name: Run bmt tests
run: |
make test
Expand All @@ -64,7 +64,7 @@ jobs:
with:
time: '45s'

- name: Run tests
- name: Run kgx tests
run: |
cd kgx
poetry run make test
20 changes: 18 additions & 2 deletions .github/workflows/initialize-toolkit-daily.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
rm -rf poetry.lock
poetry install
- name: Run tests
- name: Run bmt tests
run: |
make test
Expand All @@ -48,5 +48,21 @@ jobs:
cd kgx
poetry install # this will install a different version of hdmf from the current one
poetry remove bmt
poetry add ../bmt
ls -al ../
poetry add /home/runner/work/biolink-model-toolkit/biolink-model-toolkit
- name: Setup Neo4j Docker
run: |
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 kgx
poetry run make test

0 comments on commit 3927b14

Please sign in to comment.