From d87cdba6d83f81319bb2ae9cf0ca3de1150b9057 Mon Sep 17 00:00:00 2001 From: skshetry <18718008+skshetry@users.noreply.github.com> Date: Tue, 27 Dec 2022 11:38:34 +0545 Subject: [PATCH] gha: remove env vars SHELL --- .github/workflows/tests.yaml | 3 --- tests/func/test_repro.py | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) 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"],