A Python parser for MediaWiki wikicode https://mwparserfromhell.readthedocs.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

14 rivejä
287 B

  1. #!/usr/bin/env python
  2. import os
  3. import shutil
  4. import traceback
  5. import uuid
  6. try:
  7. if os.getenv("RUNNER_OS") == "Linux":
  8. os.makedirs("/output", exist_ok=True)
  9. shutil.move(".coverage", f"/output/coverage.{uuid.uuid4().hex}")
  10. except Exception:
  11. traceback.print_exc()