siddhantdubey / Senkovi

Python script that fixes other Python programs with GPT-4.
39 stars 4 forks source link

Potentially add workflow to have an automated testing suite? #1

Open ArvinSKushwaha opened 1 year ago

ArvinSKushwaha commented 1 year ago

What would automated testing entail in this circumstance?

There are two major downsides to having an automated testing suite for a project like this:

However, it is still possible to build a workflow to perform automated testing, as GitHub actions has the workflow_dispatch option for manually running the action (which then automagically performs testing). Also, if concerned about security, it's not impractical to spin up a docker container for each test (though I reckon the github action runners do this anyways, so the effort may be redundant).

Any opinions?

ArvinSKushwaha commented 1 year ago

If interested, I may try to follow up on this issue with a PR to create a workflow that performs this task.

siddhantdubey commented 1 year ago

Yeah, testing would be really expensive. Really, really, expensive. I think just a set of more thorough tests that one could run locally if they wish would be nice.

ArvinSKushwaha commented 1 year ago

That's fair, I'll let you know if I have a prototype.