Skip to content

Commit

Permalink
Merge pull request #19 from langchain-ai/erick/fix-release-creds
Browse files Browse the repository at this point in the history
fix release creds
  • Loading branch information
efriis authored Feb 20, 2024
2 parents 6087290 + a33541f commit baab1e3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ jobs:
- name: Run integration tests
env:
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
GOOGLE_SEARCH_API_KEY: ${{ secrets.GOOGLE_SEARCH_API_KEY }}
GOOGLE_CSE_ID: ${{ secrets.GOOGLE_CSE_ID }}
run: make integration_tests
working-directory: ${{ inputs.working-directory }}

Expand Down
8 changes: 2 additions & 6 deletions libs/genai/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,14 @@ all: help
# Define a variable for the test file path.
TEST_FILE ?= tests/unit_tests/

test:
poetry run pytest $(TEST_FILE)
integration_test integration_tests: TEST_FILE = tests/integration_tests/

tests:
test tests integration_test integration_tests:
poetry run pytest $(TEST_FILE)

check_imports: $(shell find langchain_google_genai -name '*.py')
poetry run python ./scripts/check_imports.py $^

integration_tests:
poetry run pytest tests/integration_tests

######################
# LINTING AND FORMATTING
######################
Expand Down
7 changes: 2 additions & 5 deletions libs/vertexai/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@ all: help
# Define a variable for the test file path.
TEST_FILE ?= tests/unit_tests/

integration_tests: TEST_FILE = tests/integration_tests/
integration_test integration_tests: TEST_FILE = tests/integration_tests/

test integration_tests:
poetry run pytest $(TEST_FILE)

tests:
test tests integration_test integration_tests:
poetry run pytest $(TEST_FILE)


Expand Down

0 comments on commit baab1e3

Please sign in to comment.