High quality epitaxial SrCoOx (oxygen deficient SrCoO3) thin films were grown on (110) DyScO3 substrates by pulsed laser deposition.The disappearance of half order peaks in X-ray diffraction as well as the XAS at the O K-edge indicates an oxygen content of x approximate to 2.8 in the thin films. Magnetization measurements reveal that the specific substrate strain suppresses the ferromagnetism found in the corresponding bulk material and the emergence of an antiferromagnetic-type spin correlation as predicted by theoretical calculations. Our work demonstrates that the magnetism can be tuned by in-plane strain in SrCoOx thin films.