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."