diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 6a8622232..57f88d4c3 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -8,9 +8,6 @@ on: - cron: '5 1 * * *' # every day at 01:05 workflow_dispatch: -env: - SHELL: /bin/bash - concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true diff --git a/tests/func/test_repro.py b/tests/func/test_repro.py index c0edde693..e563dd73a 100644 --- a/tests/func/test_repro.py +++ b/tests/func/test_repro.py @@ -776,7 +776,8 @@ def test_cmd_repro(tmp_dir, copy_script, run_stage): @pytest.mark.skipif(os.name == "nt", reason="not on nt") -def test_repro_shell(tmp_dir, dvc): +def test_repro_shell(tmp_dir, monkeypatch, dvc): + monkeypatch.setenv("SHELL", "/bin/sh") dvc.run( fname="shell.txt.dvc", outs=["shell.txt"],