File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 48
48
env :
49
49
COVERAGE_COVERAGE : " yes"
50
50
run : |
51
+ set -xe
51
52
python -m tox
52
53
python -m igor combine_html
54
+ mv .metacov .coverage.${{ matrix.python-version }}
55
+
56
+ - name : " Upload coverage data"
57
+ uses : actions/upload-artifact@v2
58
+ with :
59
+ name : metacov
60
+ path : .coverage.*
61
+
62
+ combine :
63
+ name : " Combine coverage data"
64
+ needs : coverage
65
+ runs-on : ubuntu-latest
66
+
67
+ steps :
68
+ - name : " Check out the repo"
69
+ uses : " actions/checkout@v2"
70
+
71
+ - name : " Set up Python"
72
+ uses : " actions/setup-python@v2"
73
+ with :
74
+ python-version : " 3.9"
75
+
76
+ - name : " Install dependencies"
77
+ run : |
78
+ set -xe
79
+ python -VV
80
+ python -m site
81
+ python -m pip install -r requirements/ci.pip
82
+ python setup.py --quiet clean develop
83
+ python igor.py zip_mods install_egg
84
+
85
+ - name : " Download coverage data"
86
+ uses : actions/download-artifact@v2
87
+ with :
88
+ name : metacov
89
+
90
+ - name : " Combine and report"
91
+ run : |
92
+ set -xe
93
+ coverage combine
94
+ coverage xml
53
95
54
96
- name : " Upload to codecov"
55
97
uses : codecov/codecov-action@v1
You can’t perform that action at this time.
0 commit comments