Skip to content

Commit

Permalink
skip broken omfit_classes test when using 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
hassec committed Mar 2, 2024
1 parent 2efc51d commit 8374d81
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ jobs:
python3 -m pip install -r requirements.txt
# numpy is a build time dependency of pygacode
# but before 1.0 it did not specify it so we need to build without build isolation
# and manually install numpy
# but before pygacode 1.0 it did not specify its build dependencies correctly
# and pygacode requires python >= 3.8,
# so for 3.7 we need to build without build isolation and manually install numpy
- name: Install OMAS (Py 3.7)
if: ${{matrix.python-version == '3.7'}}
run: |
Expand Down
2 changes: 2 additions & 0 deletions omas/tests/test_omas_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ def test_uncertain(self):

@unittest.skipIf(failed_OMFIT, str(failed_OMFIT))
def test_plot_g_s_2_ip(self):
if sys.version_info.minor==7:
raise unittest.SkipTest("Avoid Py 3.7 omfit_classes bug.")
from omas.examples import plot_g_s_2_ip

def test_plot_saveload_scaling(self):
Expand Down

0 comments on commit 8374d81

Please sign in to comment.