Skip to content

Commit

Permalink
new try with basic matlab test
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarjalnefjord committed Oct 19, 2023
1 parent 384f1fb commit ab747fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest]
python-version: ["3.10"] #["3.8", "3.9", "3.10", "3.11"]
# exclude:
# - os: macos-latest
# python-version: "3.7"
Expand Down
4 changes: 2 additions & 2 deletions tests/test_matlab.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import numpy as np
import run_matlab
from tests.run_matlab import run

def test_run_matlab():
x = 4.0
np.testing.assert_array_equal(np.sqrt(x),run_matlab.run(x))
np.testing.assert_array_equal(np.sqrt(x),run(x))

0 comments on commit ab747fd

Please sign in to comment.