teslamotors / ansible_puller

Ansible daemon for massively-scaleable Ansible
MIT License
125 stars 33 forks source link

Run tests at github actions #8

Closed paulvollmer closed 4 years ago

paulvollmer commented 4 years ago

hello, i added a github actions workflow to run the go test command. After the first push i recognized that the ci pipeline failed and i figured out that the ci test needs a small sleep before the second idempotent download function call (github servers are too fast ¯\_(ツ)_/¯) . after adding the time.Sleep the tests passed also at the CI pipeline.

here a screenshot of the failed test without the sleep in between.

Screenshot 2020-07-07 at 22 21 21

dfinninger commented 4 years ago

@paulvollmer thanks for this PR! It was on my short list of things to do, so you're helping out. :)

I need to check internally if we can enable Actions for this repo and then I'll see if we can merge this in.

paulvollmer commented 4 years ago

@dfinninger Great, you got green light to use Github Actions 🚀