|
|
@@ -42,6 +42,25 @@ jobs:
|
|
|
command: clippy
|
|
|
args: -- -D warnings
|
|
|
|
|
|
+ - name: Run cargo-tarpaulin
|
|
|
+ uses: actions-rs/tarpaulin@v0.1
|
|
|
+ with:
|
|
|
+ version: '0.15.0'
|
|
|
+ out-type: Xml
|
|
|
+ run-types: 'Tests'
|
|
|
+ args: '-- --test-threads 1'
|
|
|
+
|
|
|
+ - name: Upload to codecov.io
|
|
|
+ uses: codecov/codecov-action@v1.0.2
|
|
|
+ with:
|
|
|
+ token: ${{ secrets.CODECOV_SECRET }}
|
|
|
+
|
|
|
+ - name: Archive code coverage results
|
|
|
+ uses: actions/upload-artifact@v1
|
|
|
+ with:
|
|
|
+ name: code-coverage-report
|
|
|
+ path: cobertura.xml
|
|
|
+
|
|
|
- name: Archive build
|
|
|
uses: actions/upload-artifact@v2
|
|
|
with:
|