fix: Added API keys to CI
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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."
|
||||||
|
|||||||
Reference in New Issue
Block a user