diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 7877c6b..0389631 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -34,6 +34,10 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install --upgrade tox + - name: Install Julia using jill + run: | + python -m pip install --upgrade jill + python -c "from jill.install import install_julia; install_julia(version='1.10', confirm=True)" - name: Run test run: python -m tox -- --cov=diffeqpy -s env: diff --git a/diffeqpy/__init__.py b/diffeqpy/__init__.py index 3c4ca23..17f67f3 100644 --- a/diffeqpy/__init__.py +++ b/diffeqpy/__init__.py @@ -61,7 +61,7 @@ def install(*, confirm=False): julia = _find_julia() if not julia: print("No Julia version found. Installing Julia.") - install_julia(version="1.10", confirm=confirm) + install_julia(confirm=confirm) julia = _find_julia() if not julia: raise RuntimeError( diff --git a/tox.ini b/tox.ini index 2cac1a4..e925450 100644 --- a/tox.ini +++ b/tox.ini @@ -3,7 +3,7 @@ deps = pytest pytest-cov commands = - python -c 'import diffeqpy; diffeqpy.install(confirm=True)' + python -c 'import diffeqpy; diffeqpy.install()' py.test \ --pyargs diffeqpy \ {posargs}