razorpay / razorpay-python

Razorpay Python SDK
https://pypi.python.org/pypi/razorpay
MIT License
153 stars 81 forks source link

Fix python matrix on GitHub Actions #239

Closed SubhrajyotiSen closed 1 year ago

SubhrajyotiSen commented 1 year ago

Currently, the Action doesn't use the matrix correctly. This leads to the default python version of 3.10.7 being installed every time.

Use the python-version variable during the installation step to pick up the correct value from the matrix. Making this change also reveals specifying "3.10" as Integer tries to install Python 3.1, which doesn't exist.

Hence specify the versions as String.