fix: Added API keys to CI
CI/CD Awesome Pipeline / Test (push) Successful in 2m42s
CI/CD Awesome Pipeline / Build & Push to Registry (push) Has been skipped

This commit is contained in:
2025-12-21 12:37:38 +01:00
parent f969724ee4
commit 8d0bc59d28
2 changed files with 7 additions and 1 deletions
+3
View File
@@ -21,6 +21,9 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Build and run tests - 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 run: make _ci-run-tests
build-and-push: build-and-push:
+4 -1
View File
@@ -242,5 +242,8 @@ _ci-image-name:
_ci-run-tests: build-test _ci-run-tests: build-test
@echo "$(T)🧪 Running tests in Docker...$(R)" @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." @echo "✅ Tests passed."