Skip to content

Commit

Permalink
Try to fix mypy install
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Dec 31, 2023
1 parent 3ad5d31 commit 53c1e4c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/CI.yml
Expand Up @@ -178,7 +178,14 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install mypy jax jaxlib torch
python setup.py install
python -m pip install mypy
python -m pip install .
- name: "Install additional dependencies"
run: python -m pip install jax jaxlib torch
if: ${{ matrix.python-version != '3.7' }}
- name: "Run mypy"
run: python -m mypy --install-types --non-interactive pysr
if: ${{ matrix.python-version != '3.7' }}
- name: "Run compatible mypy"
run: python -m mypy --ignore-missing-imports pysr
if: ${{ matrix.python-version == '3.7' }}

0 comments on commit 53c1e4c

Please sign in to comment.