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 51
51
- name : Install dependencies
52
52
run : |
53
53
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
57
56
python --version
58
57
pip --version
59
58
pip list
69
68
- name : Test Package [only]
70
69
run : |
71
70
# 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
73
72
74
73
- name : Upload pytest test results
75
74
uses : actions/upload-artifact@v2
Original file line number Diff line number Diff line change 17
17
os : [ubuntu-18.04, windows-2019, macOS-10.15]
18
18
python-version : [3.6, 3.7, 3.8]
19
19
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
24
20
25
21
# Timeout: https://stackoverflow.com/a/59076067/4521646
26
22
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
4
4
horovod>=0.21.2 # no need to install with [pytorch] as pytorch is already installed
5
5
omegaconf>=2.0.1
6
6
torchtext>=0.5
7
- onnx>=1.7.0
7
+ # onnx>=1.7.0
8
8
onnxruntime>=1.3.0
9
9
hydra-core>=1.0
10
10
https://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
2
2
codecov>=2.1
3
3
pytest>=6.0
4
4
pytest-cov>2.10
5
- pytest-xdist
5
+ # pytest-xdist
6
6
flake8>=3.6
7
7
check-manifest
8
8
twine==3.2
9
- # scipy>=0.13.3
10
9
scikit-learn>=0.22.2
11
10
scikit-image>=0.17.2
12
11
isort>=5.6.4
Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ exclude_lines =
39
39
pass
40
40
rank_zero_warn
41
41
raise NotImplementedError
42
-
43
42
# TODO: figure out how to get codecov to pick up the test results on these backends
44
43
# The actual coverage for each is 90%+
45
44
# *metrics (94%+) are temporarily removed from testing while tests speed up
You can’t perform that action at this time.
0 commit comments