Ok well ideally a mini database would be preferred because then you have much faster tests. Note that tests don't have to necessarily produce meaningful output. If at least the tool doesn't fail, then this is ok. We more want to check the tool will execute properly ('no hits found' is a valid result for example).
If that still isn't possible, I think a 1gb database download is fine for GitHub actions, it's just slow.
If THAT doesn't work then yes just a stub will have to do