Repository navigation
Rename PyPI package to gmapsscraper-sdk (PyPI blocked 'gmapsscraper' … #3
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
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python: ['3.9', '3.11', '3.13'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| - run: pip install build twine | |
| - run: python -m build | |
| - run: twine check dist/* | |
| - run: pip install dist/*.whl | |
| # Run tests against the installed wheel, not the source tree | |
| - run: mv src src_moved && python -m unittest discover -s tests -v |