Skip to content

Commit

Permalink
update CI test wf to run integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssadai committed Nov 6, 2024
1 parent 5396d95 commit da78178
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,20 @@ jobs:
steps:

- uses: actions/checkout@v4
# TODO: Check out the submodules as well and then launch a test graph with docker compose to run the
# integration tests
with:
submodules: recursive

- name: Launch test graph
run: docker compose up -d test_graph

# TODO: Check if this is necessary, since the Python dependencies setup also takes some time
- name: Sleep to allow graph setup
uses: jakejarvis/wait-action@master
with:
time: '5s'

- name: Check running containers
run: docker ps

- name: Set up Python 3.10
uses: actions/setup-python@v5
Expand All @@ -38,7 +50,7 @@ jobs:
- name: Test with pytest
run: |
coverage run -m pytest
coverage run -m pytest -m "integration or not integration"
coverage lcov -o ./coverage/lcov.info
- name: Coveralls GitHub Action
uses: coverallsapp/[email protected]
Expand Down

0 comments on commit da78178

Please sign in to comment.