Skip to content

Commit

Permalink
Merge pull request #114 from datalad/rf-no-user
Browse files Browse the repository at this point in the history
Remove specification of user.* git config for docbuild and test CIs
  • Loading branch information
yarikoptic committed May 10, 2024
2 parents 02200a1 + d9d60bc commit 0b8c2d2
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 14 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/docbuild.yml
Expand Up @@ -8,10 +8,6 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Set up environment
run: |
git config --global user.email "test@github.land"
git config --global user.name "GitHub Almighty"
- uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v5
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/test-libfuse.yml
Expand Up @@ -20,11 +20,6 @@ jobs:
sudo apt-get install eatmydata
sudo eatmydata apt-get install -y fuse git-annex-standalone
- name: Set up environment
run: |
git config --global user.email "test@github.land"
git config --global user.name "GitHub Almighty"
- uses: actions/checkout@v4

- name: Set up Python 3.8
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/test.yml
Expand Up @@ -19,10 +19,6 @@ jobs:
sudo apt-get update -qq
sudo apt-get install eatmydata
sudo eatmydata apt-get install git-annex-standalone
- name: Set up environment
run: |
git config --global user.email "test@github.land"
git config --global user.name "GitHub Almighty"
- uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v5
Expand Down
2 changes: 1 addition & 1 deletion datalad_fuse/tests/test_fsspec_head.py
Expand Up @@ -126,7 +126,7 @@ def test_subdataset_get_bytes_binary(superdataset):
)


def test_git_repo(tmp_path):
def test_git_repo(tmp_path, tmp_home): # noqa: U100
subprocess.run(["git", "init"], cwd=tmp_path, check=True)
TEXT = (Path(__file__).with_name("data") / "text.txt").read_bytes()
(tmp_path / "text.txt").write_bytes(TEXT)
Expand Down

0 comments on commit 0b8c2d2

Please sign in to comment.