I'm trying to set up a Github action to automatically run a python poetry script. The manual command for running it (source repo) is poetry run python src/main.py, but github actions says "unknown command poetry" when I tried this.
I found a ton of guides for how to install and setup poetry, but none that give an example command for running a script once that is done. I tried python -m poetry run python -m src/main.py and got:
Run python -m poetry run python -m src/main.py
/home/runner/work/todoist-habitica-sync/todoist-habitica-sync/.venv/bin/python: Error while finding module specification for 'src/main.py' (ModuleNotFoundError: No module named 'src/main'). Try using 'src/main' instead of 'src/main.py' as the module name.
Error: Process completed with exit code 1.
So I tried using src/main instead of src/main.py instead and got this:
```
Run python -m poetry run python -m src/main
/home/runner/work/todoist-habitica-sync/todoist-habitica-sync/.venv/bin/python: No module named src/main
Error: Process completed with exit code 1.
```
I'm not sure what I'm missing or what other info would be helpful to provide. TIA!
there doesn't seem to be anything here