Skip to content

Commit

Permalink
ci: Generate Fluent journals
Browse files Browse the repository at this point in the history
  • Loading branch information
mkundu1 committed Nov 26, 2024
1 parent 45ac856 commit 9818cce
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,11 @@ def pytest_collection_finish(session):
f.write(", ".join([f"{p}(globals())" for p in parameters]))
f.write(")\n")
print(f"Written {fluent_test_file}")
session.exitstatus = 5


def pytest_runtestloop(session):
if session.config.getoption("--write-fluent-journals"):
pytest.exit()


@pytest.fixture(autouse=True)
Expand Down

0 comments on commit 9818cce

Please sign in to comment.