code: def pytest_sessionstart(*_):
      """Pytest hook that get called after the Session object has been created and before performing collection and
      entering the run test loop."""
      for name, url in GITHUB_APP_URLS.items():
          app_path = _PATH_EXAMPLES / name
          if not os.path.exists(app_path):
              Popen(
                  ["git", "clone", url, name], cwd=_PATH_EXAMPLES
              ).wait(timeout=90)
          else:
              Popen(["git", "pull", "main"], cwd=app_path).wait(
                  timeout=90
              )
  
file_path: pytorch-lightning/tests/integrations_app/conftest.py
imports: import contextlib
  import os
  import shutil
  import threading
  from subprocess import Popen
  import psutil
  import pytest
  from lightning.app.storage.path import _storage_root_dir
  from lightning.app.utilities.component import _set_context
  from lightning.app.utilities.packaging import cloud_compute
  from lightning.app.utilities.packaging.app_config import _APP_CONFIG_FILENAME
  from lightning.app.utilities.state import AppState
  from integrations_app.public import _PATH_EXAMPLES
label_desc: Use image node_id 1 for calling a global function with example usage: pytest_sessionstart() without return types