Only enough oil to help the seal. regular motor oil. A half to one ounce max. Too much and you could make the cylinder lock when you put the plugs back in.
The tricky part is trying to get it on the cylinder wall.
With an inline motor you can often get away with just squirting some in and wait for it to spread.
If the car is on a slope or especially on V or slant engines. If you just pour it in, it goes to the low side and you may never get the cylinder wet enough for the test to be accurate. To solve that problem...
First I make sure the cylinder is most of the way down. Gives you room to get in there.
Then I use a syringe with a bit of copper or stiff plastic tubing bent as needed so I can squirt it around and get the oil on the walls. Just squirt it in thru the plug hole.
Keep in mind, the thing will smoke like hell for awhile after you start it again. You don't want it indoors when you do that.