File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,26 @@ jobs:
127127 pip list
128128 - name : Run ${{ matrix.name }} Tests
129129 run : ./run_tests.sh ${{ matrix.framework }}
130+ - name : Save code coverage report
131+ if : ${{ matrix.framework != 'legacy' }}
132+ uses : actions/upload-artifact@v2
133+ with :
134+ name : ${{ matrix.name }} Code Coverage
135+ path : coverage.xml
136+ codecov :
137+ name : Upload to Codecov
138+ needs : test
139+ runs-on : ubuntu-latest
140+ steps :
141+ - name : Get Coverage Reports
142+ uses : actions/download-artifact@v2
143+ with :
144+ path : coverage
145+ - name : Upload Coverage Reports to Codecov
146+ uses : codecov/codecov-action@v1
147+ with :
148+ directory : coverage
149+ fail_ci_if_error : true
130150 style :
131151 name : Style Check
132152 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 11codecov :
22 bot : " codecov-io"
3- ci :
4- - " travis.org"
53 max_report_age : 24
64 disable_default_path_fixes : no
75 require_ci_to_pass : yes
You can’t perform that action at this time.
0 commit comments