File tree Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Expand file tree Collapse file tree 2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 62
62
run : pipx install algokit && algokit localnet start
63
63
64
64
- name : Run tests with Python ${{ matrix.python-version }}
65
- run : hatch run test:ci
65
+ run : hatch run test.py${{ matrix.python-version }} :ci
66
66
67
67
- name : Run examples tests with Python ${{ matrix.python-version }}
68
- run : hatch run examples:tests
68
+ run : hatch run examples.py${{ matrix.python-version }}:tests
69
+
70
+ - name : Upload coverage artifacts
71
+ uses : actions/upload-artifact@v4
72
+ if : ${{ matrix.python-version == '3.13' }}
73
+ with :
74
+ name : coverage-reports
75
+ path : |
76
+ ./coverage.xml
77
+ retention-days : 14
Original file line number Diff line number Diff line change @@ -44,9 +44,6 @@ allow-direct-references = true
44
44
[tool .hatch .build .targets .wheel ]
45
45
packages = [" src/algopy" , ' src/algopy_testing' , ' src/_algopy_testing' ]
46
46
47
- [[tool .hatch .envs .all .matrix ]]
48
- python = [" 3.12" , " 3.13" ]
49
-
50
47
# default dev environment
51
48
[tool .hatch .envs .default ]
52
49
type = " virtual"
@@ -122,6 +119,7 @@ path = ".venv.cicd"
122
119
dependencies = [
123
120
" python-semantic-release>=9.8.5" ,
124
121
]
122
+
125
123
[tool .hatch .envs .cicd .scripts ]
126
124
clean_dist = " rm -rf dist"
127
125
@@ -179,7 +177,6 @@ dev = "hatch run docs:test && sphinx-autobuild docs docs/_build"
179
177
[tool .hatch .envs .examples ]
180
178
type = " virtual"
181
179
path = " .venv.examples"
182
- python = " 3.12"
183
180
dev-mode = true
184
181
skip-install = false
185
182
post-install-commands = [
@@ -208,6 +205,9 @@ check = [
208
205
" hatch run mypy examples" ,
209
206
]
210
207
208
+ [[tool .hatch .envs .examples .matrix ]]
209
+ python = [" 3.12" , " 3.13" ]
210
+
211
211
# tool configurations
212
212
[tool .black ]
213
213
line-length = 99
You can’t perform that action at this time.
0 commit comments