From 179c51a6fe0fcd3c643e0eda36884fd1187a2051 Mon Sep 17 00:00:00 2001 From: Duncan Tourolle Date: Sat, 14 Feb 2026 16:49:14 +0100 Subject: [PATCH] fix tests --- .gitea/workflows/build-and-test.yml | 4 +++- docker-compose.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-and-test.yml b/.gitea/workflows/build-and-test.yml index 0882cd9..87eb578 100644 --- a/.gitea/workflows/build-and-test.yml +++ b/.gitea/workflows/build-and-test.yml @@ -50,7 +50,9 @@ jobs: bun install - name: Run frontend tests - run: bun test + run: | + bunx svelte-kit sync + bun test - name: Run Rust tests run: | diff --git a/docker-compose.yml b/docker-compose.yml index 2a42903..ff6f71a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,7 @@ services: - .:/app environment: - RUST_BACKTRACE=1 - command: bash -c "bunx svelte-kit sync && bun test && cd src-tauri && cargo test && cd .. && echo 'All tests passed!'" + command: bash -c "bun test && cd src-tauri && cargo test && cd .. && echo 'All tests passed!'" # Android build service - builds APK after tests pass android-build: