-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding integration test with compilation to CI (#72)
* Adding integration test to CI * Adding step to install gcc on mac
- Loading branch information
1 parent
87e2f7d
commit 475c4d6
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import pytest | ||
|
||
import neurotechdevkit as ndk | ||
|
||
|
||
@pytest.mark.integration | ||
def test_compilation(): | ||
"""Will run a simulation requiring compilation.""" | ||
scenario_id = "scenario-0-v0" | ||
scenario = ndk.make(scenario_id) | ||
result = scenario.simulate_steady_state() | ||
assert result.wavefield.shape == (101, 81, 59) |