File tree Expand file tree Collapse file tree 2 files changed +12
-36
lines changed Expand file tree Collapse file tree 2 files changed +12
-36
lines changed Original file line number Diff line number Diff line change 5252 uses : astral-sh/setup-uv@d9e0f98d3fc6adb07d1e3d37f3043649ddad06a1 # v6.5.0
5353
5454 - name : Run tests
55- run : uvx --with tox-uv tox -e ${{ matrix.python-version }}
55+ run : uvx --with tox-gh --with tox-uv tox
5656
5757 - name : Upload coverage data
5858 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6161 name : coverage-data-${{ matrix.os }}-py${{ matrix.python-version }}
6262 path : " .coverage.*"
6363
64- lint :
65- name : Lint
66- runs-on : ubuntu-latest
67- needs : test
68- steps :
69- - name : Checkout code
70- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
71-
72- - name : Set up Python
73- uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
74-
75- - name : Install uv
76- uses : astral-sh/setup-uv@d9e0f98d3fc6adb07d1e3d37f3043649ddad06a1 # v6.5.0
77-
78- - name : Run lint
79- run : uvx --with tox-uv tox -e lint
80-
81- typing :
82- name : Type checks
83- runs-on : ubuntu-latest
84- needs : test
85- steps :
86- - name : Checkout code
87- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
88-
89- - name : Set up Python
90- uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
91-
92- - name : Install uv
93- uses : astral-sh/setup-uv@d9e0f98d3fc6adb07d1e3d37f3043649ddad06a1 # v6.5.0
94-
95- - name : Run type checks
96- run : uvx --with tox-uv tox -e typing
97-
9864 coverage :
9965 name : Coverage
10066 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ include = ["backoff"]
6767
6868[tool .tox ]
6969min_version = " 4.22"
70- requires = [ " tox" , " tox-uv" ]
70+ requires = [ " tox" , " tox-gh " , " tox- uv" ]
7171env_list = [
7272 " format" ,
7373 " 3.7" ,
@@ -136,6 +136,16 @@ commands = [
136136 ],
137137]
138138
139+ [tool .tox .gh .python ]
140+ "3.14" = [" 3.14" , " lint" , " typing" ]
141+ "3.13" = [" 3.13" ]
142+ "3.12" = [" 3.12" ]
143+ "3.11" = [" 3.11" ]
144+ "3.10" = [" 3.10" ]
145+ "3.9" = [" 3.9" ]
146+ "3.8" = [" 3.8" ]
147+ "3.7" = [" 3.7" ]
148+
139149[tool .pytest .ini_options ]
140150filterwarnings = [
141151 " error" ,
You can’t perform that action at this time.
0 commit comments