Skip to content

Terminal interface to find, download, and stream movies, TV shows, and live TV using local media players.

ci: isolate config and data dirs during test suite execution

Samir Hossains77ebcfababd1
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1c49b35..1d182f4 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -74,6 +74,10 @@ jobs:
with:
prefix-key: "ci-build-test-${{ matrix.os }}"
- run: cargo build --all-features --locked
- - run: cargo test --all-features --locked
+ - name: Run test suite with isolated configuration
+ env:
+ MOVIEBOX_CONFIG_DIR: ${{ runner.temp }}/mb_config
+ MOVIEBOX_DATA_DIR: ${{ runner.temp }}/mb_data
+ run: cargo test --all-features --locked
- name: Smoke-test binary startup
run: cargo run --all-features --locked -- --version