File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131
3232 env :
3333 UV_PYTHON_PREFERENCE : only-managed
34- COVERAGE_CELL : ${{ matrix.python-version == '3.10' && matrix.torch-version == '2.12.0' }}
34+ CHECK_COVERAGE : ${{ matrix.python-version == '3.10' && matrix.torch-version == '2.12.0' }}
3535
3636 steps :
3737 - name : Checkout code
6767 env :
6868 HF_HUB_DOWNLOAD_TIMEOUT : 60
6969 run : |
70- if [ "${COVERAGE_CELL }" = "true" ]; then
70+ if [ "${CHECK_COVERAGE }" = "true" ]; then
7171 uv run pytest tests \
7272 --cov=kernels \
7373 --cov-report=term-missing \
@@ -110,7 +110,7 @@ jobs:
110110 # This is done to securely run the coverage test and to post comments even
111111 # on fork PRs.
112112 - name : Render coverage report for PR comment
113- if : env.COVERAGE_CELL == 'true' && github.event_name == 'pull_request'
113+ if : env.CHECK_COVERAGE == 'true' && github.event_name == 'pull_request'
114114 working-directory : ./kernels
115115 env :
116116 HEAD_SHA : ${{ github.event.pull_request.head.sha }}
@@ -159,7 +159,7 @@ jobs:
159159 echo "${PR_NUMBER}" > coverage-artifact/pr_number.txt
160160
161161 - name : Upload coverage artifact
162- if : env.COVERAGE_CELL == 'true' && github.event_name == 'pull_request'
162+ if : env.CHECK_COVERAGE == 'true' && github.event_name == 'pull_request'
163163 uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
164164 with :
165165 name : coverage-report
You can’t perform that action at this time.
0 commit comments