This commit is contained in:
lilydjwg 2025-02-11 09:40:47 +08:00
parent 50d5342586
commit 2c4513fd1b

View file

@ -8,21 +8,21 @@ jobs:
matrix: matrix:
python-version: python-version:
- "3.8" - "3.8"
- "3.9" # - "3.9"
- "3.10" # - "3.10"
- "3.11" # - "3.11"
- "3.12" # - "3.12"
- "3.13" # - "3.13"
# pypy fails in some cases but we don't care much about that # pypy fails in some cases but we don't care much about that
# with github actions we can't mark some jobs to not affect the overall # with github actions we can't mark some jobs to not affect the overall
# conclusion so we have to omit "allow-failure" tests. # conclusion so we have to omit "allow-failure" tests.
# See https://github.com/actions/toolkit/issues/399 # See https://github.com/actions/toolkit/issues/399
# - pypy-3.7 # - pypy-3.7
deps: deps:
- tornado pycurl # - tornado pycurl
# timer runs when loop is closed, see https://github.com/lilydjwg/nvchecker/actions/runs/11650699759/job/32439742210 # timer runs when loop is closed, see https://github.com/lilydjwg/nvchecker/actions/runs/11650699759/job/32439742210
# - aiohttp # - aiohttp
- tornado # - tornado
- httpx[http2]>=0.14.0 - httpx[http2]>=0.14.0
exclude: [] exclude: []
steps: steps:
@ -82,9 +82,9 @@ jobs:
sudo sysctl -w kernel.apparmor_restrict_unprivileged_unconfined=0 sudo sysctl -w kernel.apparmor_restrict_unprivileged_unconfined=0
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
# - name: Setup upterm session - name: Setup upterm session
# uses: lhotari/action-upterm@v1 uses: lhotari/action-upterm@v1
- name: Run pytest # - name: Run pytest
env: # env:
mitmdump: /home/runner/.mitmproxy/venv/bin/mitmdump # mitmdump: /home/runner/.mitmproxy/venv/bin/mitmdump
run: scripts/run_cached_tests # run: scripts/run_cached_tests