tarpaulin may fail

This commit is contained in:
Nikolay Kim 2020-04-05 13:39:39 +06:00
parent f9a7dad878
commit d8526eea35

View file

@ -70,12 +70,14 @@ jobs:
- name: Generate coverage file - name: Generate coverage file
if: matrix.version == '1.42.0' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request') if: matrix.version == '1.42.0' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request')
continue-on-error: true
run: | run: |
cargo install cargo-tarpaulin cargo install cargo-tarpaulin
cargo tarpaulin --out Xml --all --all-features cargo tarpaulin --out Xml --all --all-features
- name: Upload to Codecov - name: Upload to Codecov
if: matrix.version == '1.42.0' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request') if: matrix.version == '1.42.0' && (github.ref == 'refs/heads/master' || github.event_name == 'pull_request')
continue-on-error: true
uses: codecov/codecov-action@v1 uses: codecov/codecov-action@v1
with: with:
file: cobertura.xml file: cobertura.xml