File tree Expand file tree Collapse file tree 5 files changed +5
-12
lines changed Expand file tree Collapse file tree 5 files changed +5
-12
lines changed Original file line number Diff line number Diff line change 5151 - name : Install dependencies
5252 run : |
5353 python -m pip install --upgrade --user pip
54- pip install --requirement ./requirements.txt --quiet --find-links https://download.pytorch.org/whl/cpu/torch_stable.html --upgrade
55- pip install --requirement ./requirements/test.txt --quiet --upgrade-strategy only-if-needed
56- # pip install tox coverage
54+ pip install --requirement ./requirements.txt --find-links https://download.pytorch.org/whl/cpu/torch_stable.html --upgrade
55+ pip install "pytest>6.0" "pytest-cov>2.10" --upgrade-strategy only-if-needed
5756 python --version
5857 pip --version
5958 pip list
6968 - name : Test Package [only]
7069 run : |
7170 # NOTE: run coverage on tests does not propagare faler status for Win, https://github.com/nedbat/coveragepy/issues/1003
72- coverage run --source pytorch_lightning - m pytest pytorch_lightning -v --junitxml=junit/test-results-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.requires }}.xml
71+ python - m pytest pytorch_lightning -v --cov=pytorch_lightning --junitxml=junit/test-results-${{ runner.os }}-${{ matrix.python-version }}-${{ matrix.requires }}.xml
7372
7473 - name : Upload pytest test results
7574 uses : actions/upload-artifact@v2
Original file line number Diff line number Diff line change 1717 os : [ubuntu-18.04, windows-2019, macOS-10.15]
1818 python-version : [3.6, 3.7, 3.8]
1919 requires : ['minimal', 'latest']
20- exclude :
21- # # todo: segmentation fault for minimal and hanging for latest
22- - python-version : 3.8
23- os : ubuntu-18.04
2420
2521 # Timeout: https://stackoverflow.com/a/59076067/4521646
2622 timeout-minutes : 35 # TODO: the macOS is taking too long, probably caching did not work...
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ matplotlib>3.1
44horovod>=0.21.2 # no need to install with [pytorch] as pytorch is already installed
55omegaconf>=2.0.1
66torchtext>=0.5
7- onnx>=1.7.0
7+ # onnx>=1.7.0
88onnxruntime>=1.3.0
99hydra-core>=1.0
1010https://github.com/PyTorchLightning/fairscale/archive/pl_1.2.0.zip
Original file line number Diff line number Diff line change @@ -2,11 +2,10 @@ coverage>=5.2
22codecov>=2.1
33pytest>=6.0
44pytest-cov>2.10
5- pytest-xdist
5+ # pytest-xdist
66flake8>=3.6
77check-manifest
88twine==3.2
9- # scipy>=0.13.3
109scikit-learn>=0.22.2
1110scikit-image>=0.17.2
1211isort>=5.6.4
Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ exclude_lines =
3939 pass
4040 rank_zero_warn
4141 raise NotImplementedError
42-
4342# TODO: figure out how to get codecov to pick up the test results on these backends
4443# The actual coverage for each is 90%+
4544# *metrics (94%+) are temporarily removed from testing while tests speed up
You can’t perform that action at this time.
0 commit comments