File tree Expand file tree Collapse file tree 5 files changed +25
-9
lines changed Expand file tree Collapse file tree 5 files changed +25
-9
lines changed Original file line number Diff line number Diff line change 3939 description : Ignore pytest.skip
4040 type : boolean
4141 default : false
42- use_system_python :
43- description : Use system Python
42+ use_pyenv_python :
43+ description : Use Python built with pyenv
4444 type : boolean
4545 default : false
4646
6464 skip_list : ${{ inputs.skip_list }}
6565 run_name : ${{ inputs.run_name || format('Build and test {0}', inputs.runner_label) }}
6666 enable_unskip : ${{ inputs.enable_unskip }}
67- use_system_python : ${{ inputs.use_system_python || false }}
67+ use_pyenv_python : ${{ inputs.use_pyenv_python || false }}
Original file line number Diff line number Diff line change 3232 description : Ignore pytest.skip
3333 type : boolean
3434 default : false
35+ use_pyenv_python :
36+ description : Use Python built with pyenv
37+ type : boolean
38+ default : false
3539
3640permissions : read-all
3741
7983 skip_list : ${{ inputs.skip_list }}
8084 run_name : ${{ inputs.run_name }}
8185 enable_unskip : ${{ inputs.enable_unskip }}
86+ use_pyenv_python : ${{ inputs.use_pyenv_python || false }}
Original file line number Diff line number Diff line change 5656 description : Runner label for version
5757 type : string
5858 default : runner-0.0.20
59- use_system_python :
60- description : Use system Python
59+ use_pyenv_python :
60+ description : Use Python built with pyenv
6161 type : boolean
6262 default : false
6363
9494 path : $HOME/.cache/pip
9595 key : pip-${{ inputs.python_version }}-${{ hashFiles('python/pyproject.toml', 'python/setup.py') }}-${{ env.CACHE_NUMBER }}
9696
97- - name : Install Python ${{ inputs.python_version }}
98- if : ${{ !inputs.use_system_python }}
97+ - name : Install Python (using actions/setup-python) ${{ inputs.python_version }}
98+ if : ${{ !inputs.use_pyenv_python }}
99+ uses : actions/setup-python@v5
100+ with :
101+ python-version : ${{ inputs.python_version }}
102+
103+ - name : Install Python (from pyenv) ${{ inputs.python_version }}
104+ if : ${{ inputs.use_pyenv_python }}
99105 uses : ./.github/actions/setup-pyenv-python
100106 with :
101107 python-version : ${{ inputs.python_version }}
Original file line number Diff line number Diff line change 3939 description : Ignore pytest.skip
4040 type : boolean
4141 default : false
42+ use_pyenv_python :
43+ description : Use Python built with pyenv
44+ type : boolean
45+ default : false
4246
4347 pull_request :
4448 branches :
@@ -130,3 +134,4 @@ jobs:
130134 skip_list : ${{ inputs.skip_list }}
131135 run_name : ${{ inputs.run_name }}
132136 enable_unskip : ${{ inputs.enable_unskip || false }}
137+ use_pyenv_python : ${{ inputs.use_pyenv_python || false }}
Original file line number Diff line number Diff line change 2828 description : JSON list of benchmarks to skip
2929 type : string
3030 default : " []"
31- use_system_python :
31+ use_pyenv_python :
3232 description : Use system Python
3333 type : boolean
3434 default : false
7171 key : pip-$PYTHON_VERSION-$GITHUB_SHA
7272
7373 - name : Install Python
74- if : ${{ !(inputs.use_system_python || false) }}
74+ if : ${{ !(inputs.use_pyenv_python || false) }}
7575 uses : actions/setup-python@v5
7676 with :
7777 python-version : ${{ env.PYTHON_VERSION }}
You can’t perform that action at this time.
0 commit comments