Skip to content

Commit

Permalink
gha: remove env vars SHELL
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry committed Jan 10, 2023
1 parent b25ef5c commit d87cdba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion tests/func/test_repro.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down

0 comments on commit d87cdba

Please sign in to comment.