File tree 2 files changed +15
-1
lines changed
2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 48
48
- name : Test with tox
49
49
run : python -m tox
50
50
51
+ - name : Upload pytest test results
52
+ uses : actions/upload-artifact@v3
53
+ with :
54
+ name : pytest-results-${{ matrix.platform }} py${{ matrix.python-version }}
55
+ path : reports/
56
+ # Use always() to always run this step to publish test results when there are test failures
57
+ if : ${{ always() }}
58
+
51
59
- name : Coverage
52
60
uses : codecov/codecov-action@v2
53
61
Original file line number Diff line number Diff line change @@ -11,6 +11,12 @@ python =
11
11
12
12
[testenv]
13
13
extras = testing
14
+ allowlist_externals =
15
+ cp
16
+ ls
17
+ tree
14
18
commands =
19
+ cp -R {toxinidir}/src/napari_matplotlib/tests/baseline {envdir}/baseline
20
+ ls {toxinidir}/src/napari_matplotlib/tests/baseline
15
21
python -c ' from skimage import data; data.brain()'
16
- python -m pytest --mpl -v --color =yes --cov =napari_matplotlib --cov-report =xml
22
+ python -m pytest --mpl -- mpl-generate-summary =html -- mpl-results-path ={toxinidir}/reports - v --color =yes --cov =napari_matplotlib --cov-report =xml
You can’t perform that action at this time.
0 commit comments