]> Untitled Git - bdk/commitdiff
[ci] Fix publishing coverage to codecov.io
authorSteve Myers <steve@notmandatory.org>
Tue, 15 Dec 2020 18:36:47 +0000 (10:36 -0800)
committerSteve Myers <steve@notmandatory.org>
Tue, 15 Dec 2020 21:36:36 +0000 (13:36 -0800)
.github/workflows/code_coverage.yml

index fa51cc72b411f3c2f78f930bdb585a58d43147c1..e5e88c6ce2dd20c99bbb4642f86e94bdf34935e9 100644 (file)
@@ -18,10 +18,10 @@ jobs:
       - name: Install tarpaulin
         run: cargo install cargo-tarpaulin
       - name: Tarpaulin
-        run: cargo tarpaulin --features all-keys,cli-utils,compiler,esplora,compact_filters --run-types Tests,Doctests --exclude-files "testutils/*"
+        run: cargo tarpaulin --features all-keys,cli-utils,compiler,esplora,compact_filters --run-types Tests,Doctests --exclude-files "testutils/*" --out Xml
 
       - name: Publish to codecov.io
-        uses: codecov/codecov-action@v1.0.14
+        uses: codecov/codecov-action@v1.0.15
         with:
-          token: ${{secrets.CODECOV_TOKEN}}
           fail_ci_if_error: true
+          file: ./cobertura.xml