File tree Expand file tree Collapse file tree
split_tox_gh_actions/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 os : [ubuntu-22.04]
3737 env :
3838 # 3.6/3.7 run in the python:X.Y container; tell uv to use that system Python.
39- UV_PYTHON_PREFERENCE : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
39+ TOX_UV_PYTHON_PREFERENCE : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
4040 container : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
4141 steps :
4242 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4848 if : ${{ matrix.python-version == '3.6' || matrix.python-version == '3.7' }}
4949 run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
5050 - name : Setup Test Env
51- # The UV_PYTHON_PREFERENCE=only-system override for 3.6/3.7 only applies to
52- # tox-uv at test time, not to the workspace venv itself.
53- env :
54- UV_PYTHON_PREFERENCE : managed
5551 run : |
5652 uv sync
5753 - name : Erase coverage
58- env :
59- UV_PYTHON_PREFERENCE : managed
6054 run : |
6155 uv run coverage erase
6256 - name : Test openai_agents
6963 ./scripts/runtox.sh "py${{ matrix.python-version }}-pydantic_ai"
7064 - name : Generate coverage XML
7165 if : ${{ !cancelled() }}
72- env :
73- UV_PYTHON_PREFERENCE : managed
7466 run : |
7567 uv run coverage combine .coverage-sentry-*
7668 uv run coverage xml
Original file line number Diff line number Diff line change 3636 os : [ubuntu-22.04]
3737 env :
3838 # 3.6/3.7 run in the python:X.Y container; tell uv to use that system Python.
39- UV_PYTHON_PREFERENCE : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
39+ TOX_UV_PYTHON_PREFERENCE : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
4040 container : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
4141 steps :
4242 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4848 if : ${{ matrix.python-version == '3.6' || matrix.python-version == '3.7' }}
4949 run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
5050 - name : Setup Test Env
51- # The UV_PYTHON_PREFERENCE=only-system override for 3.6/3.7 only applies to
52- # tox-uv at test time, not to the workspace venv itself.
53- env :
54- UV_PYTHON_PREFERENCE : managed
5551 run : |
5652 uv sync
5753 - name : Erase coverage
58- env :
59- UV_PYTHON_PREFERENCE : managed
6054 run : |
6155 uv run coverage erase
6256 - name : Test langchain-base
7367 ./scripts/runtox.sh "py${{ matrix.python-version }}-langgraph"
7468 - name : Generate coverage XML
7569 if : ${{ !cancelled() }}
76- env :
77- UV_PYTHON_PREFERENCE : managed
7870 run : |
7971 uv run coverage combine .coverage-sentry-*
8072 uv run coverage xml
Original file line number Diff line number Diff line change 3636 os : [ubuntu-22.04]
3737 env :
3838 # 3.6/3.7 run in the python:X.Y container; tell uv to use that system Python.
39- UV_PYTHON_PREFERENCE : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
39+ TOX_UV_PYTHON_PREFERENCE : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
4040 container : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
4141 steps :
4242 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4848 if : ${{ matrix.python-version == '3.6' || matrix.python-version == '3.7' }}
4949 run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
5050 - name : Setup Test Env
51- # The UV_PYTHON_PREFERENCE=only-system override for 3.6/3.7 only applies to
52- # tox-uv at test time, not to the workspace venv itself.
53- env :
54- UV_PYTHON_PREFERENCE : managed
5551 run : |
5652 uv sync
5753 - name : Erase coverage
58- env :
59- UV_PYTHON_PREFERENCE : managed
6054 run : |
6155 uv run coverage erase
6256 - name : Test anthropic
8983 ./scripts/runtox.sh "py${{ matrix.python-version }}-openai-notiktoken"
9084 - name : Generate coverage XML
9185 if : ${{ !cancelled() }}
92- env :
93- UV_PYTHON_PREFERENCE : managed
9486 run : |
9587 uv run coverage combine .coverage-sentry-*
9688 uv run coverage xml
Original file line number Diff line number Diff line change 4040 options : --privileged # Required for Docker-in-Docker operations
4141 env :
4242 # 3.6/3.7 run in the python:X.Y container; tell uv to use that system Python.
43- UV_PYTHON_PREFERENCE : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
43+ TOX_UV_PYTHON_PREFERENCE : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
4444 container : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
4545 steps :
4646 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5252 if : ${{ matrix.python-version == '3.6' || matrix.python-version == '3.7' }}
5353 run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
5454 - name : Setup Test Env
55- # The UV_PYTHON_PREFERENCE=only-system override for 3.6/3.7 only applies to
56- # tox-uv at test time, not to the workspace venv itself.
57- env :
58- UV_PYTHON_PREFERENCE : managed
5955 run : |
6056 uv sync
6157 - name : Erase coverage
62- env :
63- UV_PYTHON_PREFERENCE : managed
6458 run : |
6559 uv run coverage erase
6660 - name : Test aws_lambda
8579 ./scripts/runtox.sh "py${{ matrix.python-version }}-gcp"
8680 - name : Generate coverage XML
8781 if : ${{ !cancelled() }}
88- env :
89- UV_PYTHON_PREFERENCE : managed
9082 run : |
9183 uv run coverage combine .coverage-sentry-*
9284 uv run coverage xml
Original file line number Diff line number Diff line change 3636 os : [ubuntu-22.04]
3737 env :
3838 # 3.6/3.7 run in the python:X.Y container; tell uv to use that system Python.
39- UV_PYTHON_PREFERENCE : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
39+ TOX_UV_PYTHON_PREFERENCE : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
4040 container : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
4141 steps :
4242 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4848 if : ${{ matrix.python-version == '3.6' || matrix.python-version == '3.7' }}
4949 run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
5050 - name : Setup Test Env
51- # The UV_PYTHON_PREFERENCE=only-system override for 3.6/3.7 only applies to
52- # tox-uv at test time, not to the workspace venv itself.
53- env :
54- UV_PYTHON_PREFERENCE : managed
5551 run : |
5652 uv sync
5753 - name : Erase coverage
58- env :
59- UV_PYTHON_PREFERENCE : managed
6054 run : |
6155 uv run coverage erase
6256 - name : Test common
6559 ./scripts/runtox.sh "py${{ matrix.python-version }}-common"
6660 - name : Generate coverage XML
6761 if : ${{ !cancelled() }}
68- env :
69- UV_PYTHON_PREFERENCE : managed
7062 run : |
7163 uv run coverage combine .coverage-sentry-*
7264 uv run coverage xml
Original file line number Diff line number Diff line change 5050 - 5432:5432
5151 env :
5252 # 3.6/3.7 run in the python:X.Y container; tell uv to use that system Python.
53- UV_PYTHON_PREFERENCE : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
53+ TOX_UV_PYTHON_PREFERENCE : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
5454 SENTRY_PYTHON_TEST_POSTGRES_HOST : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'postgres' || 'localhost' }}
5555 SENTRY_PYTHON_TEST_POSTGRES_USER : postgres
5656 SENTRY_PYTHON_TEST_POSTGRES_PASSWORD : sentry
6767 if : ${{ matrix.python-version == '3.6' || matrix.python-version == '3.7' }}
6868 run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
6969 - name : Setup Test Env
70- # The UV_PYTHON_PREFERENCE=only-system override for 3.6/3.7 only applies to
71- # tox-uv at test time, not to the workspace venv itself.
72- env :
73- UV_PYTHON_PREFERENCE : managed
7470 run : |
7571 uv sync
7672 - name : Erase coverage
77- env :
78- UV_PYTHON_PREFERENCE : managed
7973 run : |
8074 uv run coverage erase
8175 - name : Test asyncpg
10498 ./scripts/runtox.sh "py${{ matrix.python-version }}-sqlalchemy"
10599 - name : Generate coverage XML
106100 if : ${{ !cancelled() }}
107- env :
108- UV_PYTHON_PREFERENCE : managed
109101 run : |
110102 uv run coverage combine .coverage-sentry-*
111103 uv run coverage xml
Original file line number Diff line number Diff line change 3636 os : [ubuntu-22.04]
3737 env :
3838 # 3.6/3.7 run in the python:X.Y container; tell uv to use that system Python.
39- UV_PYTHON_PREFERENCE : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
39+ TOX_UV_PYTHON_PREFERENCE : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
4040 container : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
4141 steps :
4242 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4848 if : ${{ matrix.python-version == '3.6' || matrix.python-version == '3.7' }}
4949 run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
5050 - name : Setup Test Env
51- # The UV_PYTHON_PREFERENCE=only-system override for 3.6/3.7 only applies to
52- # tox-uv at test time, not to the workspace venv itself.
53- env :
54- UV_PYTHON_PREFERENCE : managed
5551 run : |
5652 uv sync
5753 - name : Erase coverage
58- env :
59- UV_PYTHON_PREFERENCE : managed
6054 run : |
6155 uv run coverage erase
6256 - name : Test launchdarkly
7771 ./scripts/runtox.sh "py${{ matrix.python-version }}-unleash"
7872 - name : Generate coverage XML
7973 if : ${{ !cancelled() }}
80- env :
81- UV_PYTHON_PREFERENCE : managed
8274 run : |
8375 uv run coverage combine .coverage-sentry-*
8476 uv run coverage xml
Original file line number Diff line number Diff line change 3636 os : [ubuntu-22.04]
3737 env :
3838 # 3.6/3.7 run in the python:X.Y container; tell uv to use that system Python.
39- UV_PYTHON_PREFERENCE : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
39+ TOX_UV_PYTHON_PREFERENCE : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
4040 container : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
4141 steps :
4242 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4848 if : ${{ matrix.python-version == '3.6' || matrix.python-version == '3.7' }}
4949 run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
5050 - name : Setup Test Env
51- # The UV_PYTHON_PREFERENCE=only-system override for 3.6/3.7 only applies to
52- # tox-uv at test time, not to the workspace venv itself.
53- env :
54- UV_PYTHON_PREFERENCE : managed
5551 run : |
5652 uv sync
5753 - name : Erase coverage
58- env :
59- UV_PYTHON_PREFERENCE : managed
6054 run : |
6155 uv run coverage erase
6256 - name : Test gevent
6559 ./scripts/runtox.sh "py${{ matrix.python-version }}-gevent"
6660 - name : Generate coverage XML
6761 if : ${{ !cancelled() }}
68- env :
69- UV_PYTHON_PREFERENCE : managed
7062 run : |
7163 uv run coverage combine .coverage-sentry-*
7264 uv run coverage xml
Original file line number Diff line number Diff line change 3636 os : [ubuntu-22.04]
3737 env :
3838 # 3.6/3.7 run in the python:X.Y container; tell uv to use that system Python.
39- UV_PYTHON_PREFERENCE : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
39+ TOX_UV_PYTHON_PREFERENCE : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
4040 container : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
4141 steps :
4242 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4848 if : ${{ matrix.python-version == '3.6' || matrix.python-version == '3.7' }}
4949 run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
5050 - name : Setup Test Env
51- # The UV_PYTHON_PREFERENCE=only-system override for 3.6/3.7 only applies to
52- # tox-uv at test time, not to the workspace venv itself.
53- env :
54- UV_PYTHON_PREFERENCE : managed
5551 run : |
5652 uv sync
5753 - name : Erase coverage
58- env :
59- UV_PYTHON_PREFERENCE : managed
6054 run : |
6155 uv run coverage erase
6256 - name : Test ariadne
7771 ./scripts/runtox.sh "py${{ matrix.python-version }}-strawberry"
7872 - name : Generate coverage XML
7973 if : ${{ !cancelled() }}
80- env :
81- UV_PYTHON_PREFERENCE : managed
8274 run : |
8375 uv run coverage combine .coverage-sentry-*
8476 uv run coverage xml
Original file line number Diff line number Diff line change 3636 os : [ubuntu-22.04]
3737 env :
3838 # 3.6/3.7 run in the python:X.Y container; tell uv to use that system Python.
39- UV_PYTHON_PREFERENCE : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
39+ TOX_UV_PYTHON_PREFERENCE : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && 'only-system' || 'managed' }}
4040 container : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.7') && format('python:{0}', matrix.python-version) || null }}
4141 steps :
4242 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4848 if : ${{ matrix.python-version == '3.6' || matrix.python-version == '3.7' }}
4949 run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
5050 - name : Setup Test Env
51- # The UV_PYTHON_PREFERENCE=only-system override for 3.6/3.7 only applies to
52- # tox-uv at test time, not to the workspace venv itself.
53- env :
54- UV_PYTHON_PREFERENCE : managed
5551 run : |
5652 uv sync
5753 - name : Erase coverage
58- env :
59- UV_PYTHON_PREFERENCE : managed
6054 run : |
6155 uv run coverage erase
6256 - name : Test mcp
6963 ./scripts/runtox.sh "py${{ matrix.python-version }}-fastmcp"
7064 - name : Generate coverage XML
7165 if : ${{ !cancelled() }}
72- env :
73- UV_PYTHON_PREFERENCE : managed
7466 run : |
7567 uv run coverage combine .coverage-sentry-*
7668 uv run coverage xml
You can’t perform that action at this time.
0 commit comments