File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 57
57
flake8 matplotview --count --select=E9,F63,F7,F82 --show-source --statistics
58
58
flake8 matplotview --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
59
59
- name : Test with pytest
60
+ id : pytest
60
61
run : |
61
62
pytest
62
63
64
+ - name : Upload images on failure
65
+ uses : actions/upload-artifact@v4
66
+ if : ${{ failure() && steps.pytest.conclusion == 'failure' }}
67
+ with :
68
+ name : test-result-images
69
+ retention-days : 1
70
+ path : result_images/
71
+
63
72
test-windows :
64
73
65
74
runs-on : windows-latest
82
91
pip install pytest
83
92
pip install -r requirements.txt
84
93
- name : Test with pytest
94
+ id : pytest
85
95
run : |
86
- pytest
96
+ pytest
97
+
98
+ - name : Upload images on failure
99
+ uses : actions/upload-artifact@v4
100
+ if : ${{ failure() && steps.pytest.conclusion == 'failure' }}
101
+ with :
102
+ name : test-result-images
103
+ retention-days : 1
104
+ path : result_images/
You can’t perform that action at this time.
0 commit comments