File tree 1 file changed +4
-7
lines changed
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 11
11
PYTHON_VERSION = "3.12"
12
12
13
13
14
- @nox .session ( python = PYTHON_VERSION , venv_backend = "conda" )
14
+ @nox .session
15
15
def test (session : nox .Session ) -> None :
16
16
"""Run the tests."""
17
- session .install (".[testing]" )
18
- session .conda_install ("gimli.units" , channel = ["nodefaults" , "conda-forge" ])
17
+ session .install (".[units,testing]" )
19
18
20
19
args = ["--cov" , PROJECT , "-vvv" ] + session .posargs
21
20
@@ -30,10 +29,8 @@ def test(session: nox.Session) -> None:
30
29
@nox .session (name = "test-cli" , python = PYTHON_VERSION , venv_backend = "conda" )
31
30
def test_cli (session : nox .Session ) -> None :
32
31
"""Run the tests."""
33
- session .install ("." )
34
- session .conda_install (
35
- "gimli.units" , "pymt_topography" , channel = ["nodefaults" , "conda-forge" ]
36
- )
32
+ session .install (".[units]" )
33
+ session .conda_install ("pymt_topography" , channel = ["nodefaults" , "conda-forge" ])
37
34
38
35
session .run ("bmi-test" , "pymt_topography:Topography" )
39
36
You can’t perform that action at this time.
0 commit comments