Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.
Python aiburrchatbot-frameworkdagsgenerative-aigraphshacktoberfestllmopsllmsmlopspersistent-data-structurestate-machinestate-managementvisibility
Adds env variable for mongo db tests
elijahbenizzy0a8133ab810d
diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.ymlindex 2ec73221..330d8e05 100644--- a/.github/workflows/python-package.yml+++ b/.github/workflows/python-package.yml@@ -83,4 +83,4 @@ jobs:python -m pip install -e ".[tests,tracking-client]"- name: Run testsrun: |- python -m pytest tests/integrations/persisters/+ BURR_CI_INTEGRATION_TESTS=true python -m pytest tests/integrations/persisters/diff --git a/tests/integrations/persisters/test_b_mongodb.py b/tests/integrations/persisters/test_b_mongodb.pyindex 9cccf9c5..cf57211e 100644--- a/tests/integrations/persisters/test_b_mongodb.py+++ b/tests/integrations/persisters/test_b_mongodb.py@@ -1,8 +1,13 @@+import os+import pytestfrom burr.core import statefrom burr.integrations.persisters.b_mongodb import MongoDBPersister+if not os.environ.get("BURR_CI_INTEGRATION_TESTS") == "true":+ pytest.skip("Skipping integration tests", allow_module_level=True)+@pytest.fixturedef mongodb_persister():