Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove specification of user.* git config for docbuild and test CIs #114

Merged
merged 3 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .github/workflows/docbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Set up environment
run: |
git config --global user.email "[email protected]"
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
Original file line number Diff line number Diff line change
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 "[email protected]"
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
Original file line number Diff line number Diff line change
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 "[email protected]"
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
Original file line number Diff line number Diff line change
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
Loading