File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -17,16 +17,18 @@ jobs:
17
17
cache-dependency-path : setup.py
18
18
- run : pip install -e .[test]
19
19
# Python 3.12 deprecates pkg_resources (also used by py-html-checker).
20
+ # https://github.com/pytest-dev/pytest-twisted/issues/183
21
+ # https://github.com/sveetch/py-html-checker/issues/26
20
22
- run : |
21
- pytest -W error -W ignore::ResourceWarning -W ignore::DeprecationWarning:scrapyd.runner -W ignore::DeprecationWarning:html_checker -W ignore::DeprecationWarning:pkg_resources tests --cov scrapyd
23
+ pytest -W error -W ignore::ResourceWarning -W ignore::DeprecationWarning:scrapyd.runner -W ignore::DeprecationWarning:pytest_twisted -W ignore::DeprecationWarning: html_checker -W ignore::DeprecationWarning:pkg_resources tests --cov scrapyd
22
24
# Occasional "ConnectionRefusedError: [Errno 111] Connection refused".
23
25
- name : Run integration tests
24
26
run : |
25
27
printf "[scrapyd]\nusername = hello12345\npassword = 67890world\n" > scrapyd.conf
26
28
mkdir logs
27
29
scrapyd > scrapyd.log 2>&1 &
28
30
sleep 1
29
- pytest -W error -W ignore::ResourceWarning integration_tests
31
+ pytest -W error -W ignore::ResourceWarning -W ignore::DeprecationWarning:pytest_twisted integration_tests
30
32
cat scrapyd.log
31
33
- env :
32
34
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments