-
Notifications
You must be signed in to change notification settings - Fork 62
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
OS matrix in CI #596
base: main
Are you sure you want to change the base?
OS matrix in CI #596
Conversation
Signed-off-by: Jack Leightcap <[email protected]>
Signed-off-by: Jack Leightcap <[email protected]>
cache_dir = _get_cache_dir(os.path.join("tmp", "foo", "cache_dir")) | ||
assert str(cache_dir) == os.path.join("tmp", "foo", "cache_dir") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's happening here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, is this because of the Windows failure? We should probably use pytest's built-in tempdir functionality here 🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exactly, to make the paths OS-agnostic. The os.path.join
is to use have the string expand to a Windows-style path, but yeah those pytest docs look to be a better fit here.
Resolves #553