Skip to content

Commit

Permalink
min matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelizimm committed Apr 10, 2024
1 parent 19f7090 commit e050b6e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions extensions/positron-python/noxfile-positron.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
@nox.session()
@nox.parametrize('pandas', ['1.5.3'])
@nox.parametrize('torch', ['1.12.1'])
def pandas_tests(session, pandas, torch):
def tests(session, pandas, torch):
session.install("-r", "python_files/positron/pinned-test-requirements.txt")
if pandas != 'latest':
session.install('--force-reinstall', f'pandas=={pandas}')
if torch != 'latest':
session.install('--force-reinstall', f'torch=={torch}')
session.install('--force-reinstall', f'pandas=={pandas}')
session.install('--force-reinstall', f'torch=={torch}')

session.run('pytest', 'python_files/positron/positron_ipykernel/tests')

0 comments on commit e050b6e

Please sign in to comment.