Merge pull request #310 from razorpay/fix/standardize-mode-parameter #290
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # They are provided by a third-party and are governed by | |
| # separate terms of service, privacy policy, and support | |
| # documentation. | |
| name: Python Package | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest # nosemgrep : semgrep.dev/s/swati31196:github_provided_runner | |
| strategy: | |
| max-parallel: 4 | |
| matrix: | |
| python-version: [3, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python | |
| uses: actions/setup-python@v2 | |
| - name: Install dependencies | |
| run: | | |
| pip install setuptools | |
| python -m pip install --upgrade pip | |
| pip install responses | |
| python3 setup.py install | |
| - name: Run Tests | |
| run: python3 -m unittest |