-
Notifications
You must be signed in to change notification settings - Fork 146
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
Fixing broken macOS tests and CI #1068
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,6 +145,9 @@ test-notebooks: | |
eval $(shell make silent_cp_activate) | ||
./scripts/jupyter/jupyter.sh | ||
|
||
test-notebooks-macos: | ||
bcm-at-zama marked this conversation as resolved.
Show resolved
Hide resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why a specific target for macos? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I removed the |
||
./scripts/jupyter/jupyter.sh | ||
|
||
# ========== | ||
# Formatting | ||
# ========== | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
Tests of `Circuit` class. | ||
""" | ||
|
||
import platform | ||
import tempfile | ||
from pathlib import Path | ||
|
||
|
@@ -510,10 +511,11 @@ def f(x, y): # pylint: disable=unused-argument | |
@pytest.mark.dataflow | ||
def test_dataflow_circuit(helpers): | ||
""" | ||
Test execution with dataflow_parallelize=True. | ||
Test execution with dataflow_parallelize=True, unless on macOS. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should be skipped thanks to the marker? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no this test is not skipped, we just force |
||
""" | ||
|
||
configuration = helpers.configuration().fork(dataflow_parallelize=True) | ||
is_not_mac = platform.system() != "Darwin" | ||
configuration = helpers.configuration().fork(dataflow_parallelize=is_not_mac) | ||
|
||
@fhe.compiler({"x": "encrypted", "y": "encrypted"}) | ||
def f(x, y): | ||
|
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.
ok with you @BourgerieQuentin ?