From 8d0bc59d2822d39dd18642fb03414e612a319b17 Mon Sep 17 00:00:00 2001 From: Francwa Date: Sun, 21 Dec 2025 12:37:38 +0100 Subject: [PATCH] fix: Added API keys to CI --- .gitea/workflows/ci.yml | 3 +++ Makefile | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 2940a22..231fefa 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -21,6 +21,9 @@ jobs: uses: actions/checkout@v4 - name: Build and run tests + env: + DEEPSEEK_API_KEY: ${{ secrets.DEEPSEEK_API_KEY }} + TMDB_API_KEY: ${{ secrets.TMDB_API_KEY }} run: make _ci-run-tests build-and-push: diff --git a/Makefile b/Makefile index e9d39de..0054959 100644 --- a/Makefile +++ b/Makefile @@ -242,5 +242,8 @@ _ci-image-name: _ci-run-tests: build-test @echo "$(T)🧪 Running tests in Docker...$(R)" - docker run --rm $(IMAGE_NAME):test pytest + docker run --rm \ + -e DEEPSEEK_API_KEY \ + -e TMDB_API_KEY \ + $(IMAGE_NAME):test pytest @echo "✅ Tests passed."