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 36
36
auto-update-conda : false
37
37
python-version : ${{ matrix.python-version }}
38
38
channels : conda-forge,nodefaults
39
- mamba-version : " * "
39
+ miniforge-variant : Mambaforge
40
40
41
41
- name : Install core dependencies.
42
42
shell : bash -l {0}
Original file line number Diff line number Diff line change @@ -261,22 +261,13 @@ def task_run_jl_script():
261
261
reason = "Test folder and repo are on different drives causing relpath to fail." ,
262
262
)
263
263
@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
- )
271
264
@pytest .mark .parametrize ("path" , [ROOT , "relative_from_config" ])
272
265
def test_run_jl_script_w_environment_in_config (
273
266
runner ,
274
267
tmp_path ,
275
268
parse_config_code ,
276
269
serializer ,
277
270
suffix ,
278
- config_path ,
279
- value ,
280
271
path ,
281
272
):
282
273
task_source = f"""
@@ -307,7 +298,9 @@ def task_run_jl_script():
307
298
if isinstance (path , Path )
308
299
else Path (os .path .relpath (ROOT , tmp_path )).as_posix ()
309
300
)
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
+ )
311
304
312
305
result = runner .invoke (cli , [tmp_path .as_posix ()])
313
306
You can’t perform that action at this time.
0 commit comments