Having trouble running my code on GitHub Actions

0
0
Asked By TechieTraveler88 On

Hey everyone! I'm new to GitHub Actions and I'm facing some issues. My code runs perfectly fine on my local machine, but when I try to run it on GitHub Actions, it seems to take forever. The project involves scraping data from a public website, processing it with the Ollama model, and then outputting the results to a Google Sheet. On my laptop, it finishes in about 4 minutes, but on GitHub Actions, it can take over 20 minutes and still doesn't complete. I suspect there might be something wrong with the action.yml file. Can someone take a look and help me out? Thanks a lot! Here's the project link: [GitHub Project](https://github.com/longthannga/Requirements_For_Rental_Assistant)

2 Answers

Answered By ScriptGuru77 On

I can relate! When I first set up GitHub Actions, I had to be patient as well. At first, I thought it wasn’t working and stopped my run after 5 minutes, but in later attempts, I let it run and it actually finished! Just to be safe, keep monitoring those logs for any clues on delays.

Answered By CodeNinja42 On

It seems like you might have gotten it working recently? Just a heads up, the time difference between local and GitHub Actions can be pretty normal due to setup times. It looks like you had one run that took 20 minutes, but another recent run was just 9 minutes of which 2 were setup. It's not unusual to see some delays there. If you keep facing long run times, try adding some logging with timestamps in your main.py. This way, you can pinpoint where the extra time is going.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.