From c76bb3b355cb2cdb8047216d4b503b7c93a01652 Mon Sep 17 00:00:00 2001 From: Luis Garcia Date: Sun, 18 May 2025 20:21:18 +0000 Subject: [PATCH] CI: Use ENV_FILE Signed-off-by: Luis Garcia --- .github/workflows/ci.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6633d7a..6a3b99f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,40 +70,35 @@ jobs: - name: "Test Plex" run: | - mv test/ci_plex.env .env - uv run main.py + ENV_FILE="test/ci_plex.env" uv run main.py uv run test/validate_ci_marklog.py --plex rm mark.log - name: "Test Jellyfin" run: | - mv test/ci_jellyfin.env .env - uv run main.py + ENV_FILE="test/ci_jellyfin.env" uv run main.py uv run test/validate_ci_marklog.py --jellyfin rm mark.log - name: "Test Emby" run: | - mv test/ci_emby.env .env - uv run main.py + ENV_FILE="test/ci_emby.env" uv run main.py uv run test/validate_ci_marklog.py --emby rm mark.log - name: "Test Guids" run: | - mv test/ci_guids.env .env - uv run main.py + ENV_FILE="test/ci_guids.env" uv run main.py uv run test/validate_ci_marklog.py --guids rm mark.log - name: "Test Locations" run: | - mv test/ci_locations.env .env - uv run main.py + ENV_FILE="test/ci_locations.env" uv run main.py uv run test/validate_ci_marklog.py --locations rm mark.log @@ -111,11 +106,10 @@ jobs: - name: "Test writing to the servers" run: | # Test writing to the servers - mv test/ci_write.env .env - uv run main.py + ENV_FILE="test/ci_write.env" uv run main.py # Test again to test if it can handle existing data - uv run main.py + ENV_FILE="test/ci_write.env" uv run main.py uv run test/validate_ci_marklog.py --write