Skip to content

Commit

Permalink
try to fix github actions for windows/mac
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisvang committed Sep 5, 2023
1 parent a101ece commit d460947
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/test_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,13 @@ def test_init_paths(self):
app_name='test', repo_dir=repo_dir, keys_dir=keys_dir
)
# internally we should always have the absolute paths
self.assertEqual(repo_dir_abs, repo.repo_dir)
self.assertEqual(keys_dir_abs, repo.keys_dir)
self.assertTrue(repo.repo_dir.is_absolute())
self.assertTrue(repo.keys_dir.is_absolute())
# compare dirs
# resolve is necessary for github actions, see:
# https://github.com/actions/runner-images/issues/712#issuecomment-1163036706
self.assertEqual(repo_dir_abs.resolve(), repo.repo_dir.resolve())
self.assertEqual(keys_dir_abs.resolve(), repo.keys_dir.resolve())

def test_config_dict(self):
app_name = 'test'
Expand Down

0 comments on commit d460947

Please sign in to comment.