Skip to content

Commit

Permalink
Added integration_tests to Makefile as it is called in _release.yml. …
Browse files Browse the repository at this point in the history
…This change means only unit_tests are run by CI...
  • Loading branch information
caseyclements committed Nov 22, 2024
1 parent 6ca4614 commit 08dbdf0
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions libs/langgraph-checkpoint-mongodb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@
# TESTING AND COVERAGE
######################

test tests:
poetry run pytest tests
# Define a variable for the test file path.
TEST_FILE ?= tests/unit_tests/
integration_test integration_tests: TEST_FILE=tests/integration_tests/


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

######################
# LINTING AND FORMATTING
Expand Down Expand Up @@ -40,3 +45,5 @@ help:
@echo 'format - run code formatters'
@echo 'lint - run linters'
@echo 'test - run unit tests'
@echo 'integration_test - run integration tests'
@echo 'test TEST_FILE=<test_file> - run all tests in file'

0 comments on commit 08dbdf0

Please sign in to comment.