Use 'python -m pip' and 'python -m pytest' commands for better compatibility with Gitea Actions environment