Make a plate that bolts to the head gasket surface of the cylinder head with cutouts for the cylinder bores. Hint: Use a head gasket as a template.
Bolt it up with some 1/4" rubber sheet as a gasket, don't forget the cutouts for the cylinder bores.
Make another plate that bolts to the open water jacket at the end of the head and drill and tap for 1/4" pipe fitting. Again using an old gasket as a template. Seal this one up with a regular Duramax gasket.
If checking an LB7 head be sure to have the injector cups installed along with the injector clamps and something in between the two to keep the cups from blowing out. We made some aluminum fittings for just this purpose.
Get an adjustable air pressure regulator and set it for 30psi. Plug the regulator into shop air and the regulated side into the end plate on the cylinder head. Now submerge the cylinder head in a tub of water and look for leaks in the ports. If none are present and your rubber head gasket is sealing properly gradually increase the pressure to 60 psi, roughly double what the cooling system sees.
Hope this helps,
Guy