-
Notifications
You must be signed in to change notification settings - Fork 5
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
Fix issues encountered during pytest #166
base: fastsim-3
Are you sure you want to change the base?
Commits on Nov 14, 2024
-
Load demo tests using sys.executable
Previously, the string "python" was being used in the subprocess call. However, this did not always do the right thing when, for example, the demo tests are being called within a virutal environment using pytest. By using sys.executable, we use the same python interpreter used to run pytest and/or the test_demos.py file.
Michael O'Keefe authored and Michael O'Keefe committedNov 14, 2024 Configuration menu - View commit details
-
Copy full SHA for e33ae3e - Browse repository at this point
Copy the full SHA e33ae3eView commit details -
Switch back to Pandas DataFrame prior to printing.
On Windows (and perhaps other platforms), we were running into an encoding error when the Polars DataFrame was being asked to print (i.e., being converted to a string). As a work-around, we convert the Polars DataFrame to a Pandas DataFrame prior to printing and this works without issue.
Michael O'Keefe authored and Michael O'Keefe committedNov 14, 2024 Configuration menu - View commit details
-
Copy full SHA for 7842832 - Browse repository at this point
Copy the full SHA 7842832View commit details -
Add example build-and-test CI workflow
Michael O'Keefe authored and Michael O'Keefe committedNov 14, 2024 Configuration menu - View commit details
-
Copy full SHA for 18b20f5 - Browse repository at this point
Copy the full SHA 18b20f5View commit details -
Update workflow to trigger on push
Michael O'Keefe authored and Michael O'Keefe committedNov 14, 2024 Configuration menu - View commit details
-
Copy full SHA for d943d0c - Browse repository at this point
Copy the full SHA d943d0cView commit details -
Michael O'Keefe authored and Michael O'Keefe committed
Nov 14, 2024 Configuration menu - View commit details
-
Copy full SHA for 5e6d35c - Browse repository at this point
Copy the full SHA 5e6d35cView commit details -
This is required on (at least) Ubuntu for the Polars DataFrame to Pandas DataFrame conversion.
Michael O'Keefe authored and Michael O'Keefe committedNov 14, 2024 Configuration menu - View commit details
-
Copy full SHA for 676f912 - Browse repository at this point
Copy the full SHA 676f912View commit details -
Ensure that development deps are installed (needed to run tests)
Michael O'Keefe authored and Michael O'Keefe committedNov 14, 2024 Configuration menu - View commit details
-
Copy full SHA for f0a45a3 - Browse repository at this point
Copy the full SHA f0a45a3View commit details -
These did not consistently pass on the CI. From Chad Baker: ... the speedup failing tests can be ignored for now. We need to come up with a better way of testing the speed up relative to fastsim-2, but I’m not sure that's an urgent problem.
Michael O'Keefe authored and Michael O'Keefe committedNov 14, 2024 Configuration menu - View commit details
-
Copy full SHA for 4abf4a9 - Browse repository at this point
Copy the full SHA 4abf4a9View commit details -
Remove pyarrow as a dependency. It is in the dev deps already
Michael O'Keefe authored and Michael O'Keefe committedNov 14, 2024 Configuration menu - View commit details
-
Copy full SHA for f831879 - Browse repository at this point
Copy the full SHA f831879View commit details