Repository navigation
Fix Python audit findings: configurable http_timeout, scrape id guard… #2
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 |