docs: sphinxcontrib-zopeext is incompatible with sphinx 9 sphinx-cont… #582
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: Tests | |
| on: [push, pull_request] | |
| jobs: | |
| tests: | |
| if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| # Omit macos-latest due to https://github.com/coverallsapp/homebrew-coveralls/issues/65 | |
| os: [windows-latest, ubuntu-latest] | |
| python-version: ["3.10", "3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: pip | |
| - run: pip install -e .[test] | |
| # Python 3.12 deprecates pkg_resources. | |
| - run: coverage run --source=scrapyd -m pytest -W error -W ignore::ResourceWarning -W ignore::DeprecationWarning:scrapyd.runner -W ignore::DeprecationWarning:pkg_resources -W ignore::UserWarning:scrapyd.runner -W ignore::UserWarning:pkg_resources tests | |
| # Occasional "ConnectionRefusedError: [Errno 111] Connection refused". | |
| - name: Run integration tests | |
| run: | | |
| printf "[scrapyd]\nusername = hello12345\npassword = 67890world\n" > scrapyd.conf | |
| mkdir logs | |
| scrapyd > scrapyd.log 2>&1 & | |
| sleep 1 | |
| pytest -W error -W ignore::ResourceWarning -W ignore::DeprecationWarning:pytest_twisted integration_tests | |
| cat scrapyd.log | |
| - uses: coverallsapp/github-action@5cbfd81b66ca5d10c19b062c04de0199c215fb6e # v2.3.7 |