Skip to content

Commit 9eb0808

Browse files
committed
Start mock core in publishing workflows
1 parent cc760b7 commit 9eb0808

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ jobs:
2727
echo "Pylint check failed. Please fix the issues."
2828
exit 1
2929
fi
30-
30+
- name: Build and start aikido mock server
31+
run: |
32+
cd end2end/server && docker build -t mock_core .
33+
docker run --name mock_core -d -p 5050:5000 mock_core
3134
- name: Run Black Check
3235
run: |
3336
poetry run black --check --diff aikido_zen/

.github/workflows/test-publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ jobs:
2727
echo "Pylint check failed. Please fix the issues."
2828
exit 1
2929
fi
30-
30+
- name: Build and start aikido mock server
31+
run: |
32+
cd end2end/server && docker build -t mock_core .
33+
docker run --name mock_core -d -p 5050:5000 mock_core
3134
- name: Run Black Check
3235
run: |
3336
poetry run black --check --diff aikido_zen/

0 commit comments

Comments
 (0)