File tree Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change 3636 auto-update-conda : false
3737 python-version : ${{ matrix.python-version }}
3838 channels : conda-forge,nodefaults
39- mamba-version : " * "
39+ miniforge-variant : Mambaforge
4040
4141 - name : Install core dependencies.
4242 shell : bash -l {0}
Original file line number Diff line number Diff line change @@ -261,22 +261,13 @@ def task_run_jl_script():
261261 reason = "Test folder and repo are on different drives causing relpath to fail." ,
262262)
263263@parametrize_parse_code_serializer_suffix
264- @pytest .mark .parametrize (
265- ("config_path" , "value" ),
266- [
267- ("pytask.ini" , "[pytask]\n julia_project={}" ),
268- ("pyproject.toml" , "[tool.pytask.ini_options]\n julia_project='{}'" ),
269- ],
270- )
271264@pytest .mark .parametrize ("path" , [ROOT , "relative_from_config" ])
272265def test_run_jl_script_w_environment_in_config (
273266 runner ,
274267 tmp_path ,
275268 parse_config_code ,
276269 serializer ,
277270 suffix ,
278- config_path ,
279- value ,
280271 path ,
281272):
282273 task_source = f"""
@@ -307,7 +298,9 @@ def task_run_jl_script():
307298 if isinstance (path , Path )
308299 else Path (os .path .relpath (ROOT , tmp_path )).as_posix ()
309300 )
310- tmp_path .joinpath (config_path ).write_text (value .format (path_in_config ))
301+ tmp_path .joinpath ("pyproject.toml" ).write_text (
302+ f"[tool.pytask.ini_options]\n julia_project='{ path_in_config } '"
303+ )
311304
312305 result = runner .invoke (cli , [tmp_path .as_posix ()])
313306
You can’t perform that action at this time.
0 commit comments