]> Untitled Git - bdk/commitdiff
Reenable code coverage upload to Coveralls, only for ./crates packages
authorSteve Myers <steve@notmandatory.org>
Sat, 29 Apr 2023 14:18:35 +0000 (09:18 -0500)
committerSteve Myers <steve@notmandatory.org>
Sat, 29 Apr 2023 14:49:03 +0000 (09:49 -0500)
.github/workflows/code_coverage.yml

index 37a7cc46b2b2d325141f0b7f3624b5027ca9b953..e7d97437380abf881a0d7d6ecaeff85212561ddf 100644 (file)
@@ -38,15 +38,15 @@ jobs:
       - name: Install python dependencies
         run: pip install hwi==2.1.1 protobuf==3.20.1
       - name: Test
-        run: cargo test --all-features
+        run: (cd crates; cargo test --all-features)
       - name: Run grcov
         run: mkdir coverage; grcov . --binary-path ./target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore '/*' -o ./coverage/lcov.info
       - name: Generate HTML coverage report
         run: genhtml -o coverage-report.html ./coverage/lcov.info
-          #      - name: Coveralls upload
-          #        uses: coverallsapp/github-action@master
-          #        with:
-          #          github-token: ${{ secrets.GITHUB_TOKEN }}
+      - name: Coveralls upload
+        uses: coverallsapp/github-action@master
+        with:
+          github-token: ${{ secrets.GITHUB_TOKEN }}
       - name: Upload artifact
         uses: actions/upload-artifact@v2
         with: