Skip to content

Commit

Permalink
Gt4py version 1015 (#850)
Browse files Browse the repository at this point in the history
* add new gt4py version

* fix gt4py tag

* fix test name

* only run gtfn tests

* GitHub Action: Apply Pep8-formatting

---------

Co-authored-by: github-actions <[email protected]>
  • Loading branch information
halungge and github-actions authored Oct 31, 2023
1 parent ac6ddfc commit 5cc2618
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 4 additions & 2 deletions repos/c2sm/packages/py-gt4py/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class PyGt4py(PythonPackage):
version('1.0.1.2', tag='icon4py_20230621', git=url)
version('1.0.1.3', tag='icon4py_20230817', git=url)
version('1.0.1.4', tag='icon4py_20230926', git=url)
version('1.0.1.5', tag='icon4py_20231027', git=url)

maintainers = ['samkellerhals']

Expand Down Expand Up @@ -85,5 +86,6 @@ class PyGt4py(PythonPackage):
depends_on('py-pytest-xdist', type=('build', 'run'))

def test(self):
python('-m', 'pytest', '-v', '-s', '-n', 'auto', '--cov',
'--cov-append', 'tests/next_tests', 'tests/eve_tests')
python('-m', 'pytest', '-v', '-s', '-n', 'auto', '-k',
'[otf_compile_executor.run_gtfn]', 'tests/next_tests',
'tests/eve_tests')
3 changes: 3 additions & 0 deletions test/system_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,9 @@ def test_install_version_1_0_1_3(self):
def test_install_version_1_0_1_4(self):
spack_install_and_test('py-gt4py @1.0.1.4')

def test_install_version_1_0_1_5(self):
spack_install_and_test('py-gt4py @1.0.1.5')


class PyHatchlingTest(unittest.TestCase):

Expand Down

0 comments on commit 5cc2618

Please sign in to comment.