Skip to content

Commit

Permalink
Adds matlab engine to test action
Browse files Browse the repository at this point in the history
  • Loading branch information
DrPaulSharp committed Aug 13, 2024
1 parent 5aeedff commit 3a1a2a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ jobs:
sudo apt install libomp-dev
- name: Install and Test with pytest
run: |
python -m pip install -e .[Dev]
python -m pip install -e .[Dev,Matlab_latest]
pytest tests/ --cov=RATapi --cov-report=term
4 changes: 2 additions & 2 deletions tests/test_convert.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Test conversion to Project files."""

import importlib
# import importlib
import os
import tempfile

Expand Down Expand Up @@ -84,7 +84,7 @@ def mock_load(ignored_filename, **ignored_settings):
assert getattr(converted_project, class_list) == getattr(original_project, class_list)


@pytest.mark.skipif(importlib.util.find_spec("matlab") is None, reason="Matlab not installed")
# @pytest.mark.skipif(importlib.util.find_spec("matlab") is None, reason="Matlab not installed")
def test_matlab_save(request):
"""Test that MATLAB correctly saves the .mat file."""
project = request.getfixturevalue("r1_default_project")
Expand Down

0 comments on commit 3a1a2a1

Please sign in to comment.