Skip to content

Commit

Permalink
Force the use of LTS version in yml
Browse files Browse the repository at this point in the history
  • Loading branch information
himoto committed Nov 19, 2024
1 parent d4b8d6c commit 436699d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion diffeqpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 436699d

Please sign in to comment.