Having difficulty porting my CI script from Github to Gitlab

I am the maintainer of a open source project via in github. I successfully applied and got gitlab open source license , so I am willing to port over my CI/CD configuration to GitLab. The problem I am facing now is , my python application can not be run in gitlab if I copy paste it.

From what I understand, they follow different syntax but I can’t find a tutorial to port github action to gitlab CI.

Link to my working github CI : https://github.com/aapatre/Automatic-Udemy-Course-Enroller-GET-PAID-UDEMY-COURSES-for-FREE/blob/master/.github/workflows/python-package.yml

@dnsmichi I was suggested your name from my gitlab support, can you please take a look at this?