File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -145,6 +145,12 @@ jobs:
145145 run : just json-loader
146146 env :
147147 PYTEST_XDIST_AUTO_NUM_WORKERS : auto
148+ - name : Upload coverage reports to Codecov
149+ uses : codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
150+ with :
151+ files : .just/json-loader/coverage.xml
152+ flags : unittests
153+ token : ${{ secrets.CODECOV_TOKEN }}
148154
149155 test-tests :
150156 runs-on : [self-hosted-ghr, size-xl-x64]
Original file line number Diff line number Diff line change @@ -163,10 +163,17 @@ json-loader *args:
163163 - -output=" tests/json_loader/fixtures" \
164164 - -cov-config=pyproject.toml \
165165 - -cov=ethereum \
166- - -cov-fail-under=80
166+ - -cov-branch \
167+ - -cov-report=term \
168+ - -cov-fail-under=85
167169 uv run pytest \
168170 - m " not slow" \
169171 - n auto --maxprocesses 6 --dist=loadfile \
172+ - -cov-config=pyproject.toml \
173+ - -cov=ethereum \
174+ - -cov-branch \
175+ - -cov-report=term \
176+ - -cov-report " xml:{{ output_dir }} /json-loader/coverage.xml" \
170177 - -basetemp=" {{ output_dir }} /json-loader/tmp" \
171178 " $@" \
172179 tests/ json_loader
You can’t perform that action at this time.
0 commit comments