text: Title: Pytest-html generates html report even if no tests were run with VSCode
  Body: I am using VSCode and each time the test explorer runs a discovery/collects tests, a report.html file is generated even if no tests were run. I currently have my framework set up to create folders for each run with a report.html similar to the structure below. I am procedurally setting the the htmlpath in pytest_configure for pytest-html.
  
      /runs
      ..../2022-04-08-10-25-00
      ......../tests
      ............/name_of_test
      ................/logs
      ................/screenshots
      ................/captures
      ................/downloads
      ........report.html
  
  
  
  
  Except I am getting the below structure when VSCode discovers tests and no tests are run.
  
      /runs
      ..../2022-04-08-10-25-00
      ........report.html
      ..../2022-04-08-10-26-00
      ........report.html
  
  
  
  
  Here is my pytest_configure method for setting html path procedurally:
  
      @pytest.hookimpl(tryfirst=True)
      def pytest_configure(config):
        if "session_date" not in config.stash:
          config.stash["session_date"] = datetime.now().strftime("%Y-%m-%d-%H-%M-%S")
      
        [...]
      
        run_path = config.rootpath.joinpath("runs", config.stash["session_date"])
        run_path.mkdir(parents=True, exist_ok=True)
        config.stash["run_path"] = run_path
      
        config.option.htmlpath = str(run_path / "report.html")
  
  
  
  Any way to prevent html report generation if no tests are run?
  