in noxfile.py [0:0]
def tests_impl(session):
session.install(".[develop]")
# Install `elastic-apm` from master branch
session.install(
"elastic-apm @ https://github.com/elastic/apm-agent-python/archive/master.zip"
)
session.run(
"pytest",
"--junitxml=junit-test.xml",
"--cov=ecs_logging",
*(session.posargs or ("tests/",)),
env={"PYTHONWARNINGS": "always::DeprecationWarning"},
)