From 5eeaee162a7d75f82dfb5fe39d1bfbb4e690e851 Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Wed, 1 Nov 2023 13:23:42 +0000 Subject: [PATCH] ci: fix tests, kill music-player server after tests --- .fluentci/src/dagger/jobs.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.fluentci/src/dagger/jobs.ts b/.fluentci/src/dagger/jobs.ts index 52e56f2..94cb2db 100644 --- a/.fluentci/src/dagger/jobs.ts +++ b/.fluentci/src/dagger/jobs.ts @@ -102,7 +102,8 @@ export const test = async (src = ".") => { "-c", "music-player & \ sleep 3 && \ - cargo llvm-cov --all-features --lib --workspace --lcov --output-path lcov.info", + cargo llvm-cov --all-features --lib --workspace --lcov --output-path lcov.info && \ + killall -s TERM music-player", ]); await ctr.file("/app/lcov.info").export("./lcov.info");