Skip to content

Commit

Permalink
See if windows fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mohithg committed Nov 14, 2021
1 parent eb29f74 commit 346e22b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
os: [ ubuntu-latest, macOS-latest, windows-latest ]
python-version: [3.8, 3.9]
os: [ windows-latest ]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion fds/services/dvc_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def __should_skip_list_add(self, directory: str) -> bool:
:param directory: the name of the dir
:return: True if we should skip, else return False
"""
if os.path.abspath(directory) == self.repo_path:
if os.path.samefile(os.path.abspath(directory), self.repo_path):
return True
git_output = check_git_ignore(directory)
if convert_bytes_to_string(git_output.stdout) != '':
Expand Down

0 comments on commit 346e22b

Please sign in to comment.