flairNLP / fundus

A very simple news crawler with a funny name
MIT License
126 stars 63 forks source link

Set PYTHONPATH to the Root of the Repository for the Publisher Coverage Actions #519

Closed dobbersc closed 2 weeks ago

dobbersc commented 2 weeks ago

Currently, the Publisher Coverage action fails because it can't find the scripts.utility module. Setting the PYTHONPATH correctly should fix this.

Traceback:

Traceback (most recent call last):
  File "/home/runner/work/fundus/fundus/scripts/publisher_coverage.py", line 16, in <module>
    from scripts.utility import timeout
ModuleNotFoundError: No module named 'scripts'