File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -35,16 +35,20 @@ jobs:
3535 python-version : ${{ matrix.python-version }}
3636 cache : ' pip'
3737 - name : Install dependencies
38- run : pip install -e .[test]
38+ run : |
39+ pip install --upgrade pip
40+ pip install -e .[test]
3941 - name : Test with pytest
4042 run : pytest tests
4143 - name : Check passthrough models
4244 run : python scripts/generate_passthrough_modules.py check
43- - name : Mypy
44- if : ${{ matrix.python-version != '3.7' }}
45- run : |
46- mkdir -p .mypy-cache
47- mypy . --install-types --non-interactive --cache-dir .mypy-cache --explicit-package-bases --check-untyped-defs
45+ # todo: add mypy checks for python 3.10 when we can add KW_ONLY to dataclasses
46+ # allowing dataclass inheritance w/o the 'missing' default value
47+ # - name: MyPy
48+ # if: ${{ matrix.python-version == '3.10' }}
49+ # run: |
50+ # mkdir -p .mypy-cache
51+ # mypy . --install-types --non-interactive --cache-dir .mypy-cache --explicit-package-bases --check-untyped-defs
4852
4953 conda-build :
5054 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 2222 cache : ' pip'
2323 - name : Install dependencies
2424 run : |
25+ pip install --upgrade pip
2526 pip install wheel
2627 pip install -e .[test]
2728 - name : Test with pytest
You can’t perform that action at this time.
0 commit comments