The effects of galaxy interactions on star formation