Skip to content

Commit 1f78ce1

Browse files
authored
CI: Stop Mono server before tests (#126)
Mono server starts unexpectedly on GitHub Actions. It uses 8084 port that is needed for tests. Since this patch Mono process is killed before running tests.
1 parent 765c6b7 commit 1f78ce1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test_on_push.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ jobs:
2323
sudo apt install -y tarantool-dev
2424
./deps.sh
2525
26+
# This server starts and listen on 8084 port that is used for tests
27+
- name: Stop Mono server
28+
run: sudo kill -9 $(sudo lsof -t -i tcp:8084) || true
29+
2630
- name: Run linter
2731
run: .rocks/bin/luacheck .
2832

@@ -48,6 +52,10 @@ jobs:
4852
source tarantool-enterprise/env.sh
4953
./deps.sh
5054
55+
# This server starts and listen on 8084 port that is used for tests
56+
- name: Stop Mono server
57+
run: sudo kill -9 $(sudo lsof -t -i tcp:8084) || true
58+
5159
- name: Run linter
5260
run: .rocks/bin/luacheck .
5361

0 commit comments

Comments
 (0)