]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
github: Fix merge collision in v1/v2 code coverage 57/head
authorTom Hromatka <tom.hromatka@oracle.com>
Tue, 6 Jul 2021 20:37:23 +0000 (14:37 -0600)
committerTom Hromatka <tom.hromatka@oracle.com>
Tue, 6 Jul 2021 20:37:23 +0000 (14:37 -0600)
Fix merge collision in the gathering of the v1/v2
code coverage metrics.

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
.github/workflows/continuous-integration.yml

index 06722b461a8caa4646c005b3f3898c3faf70ce11..b4769b7d9b1d4ff8d5fef3c3001ff419b6c0381a 100644 (file)
@@ -144,19 +144,21 @@ jobs:
         name: Cgroup v1v2 test logs
         path: tests/ftests/*.log
     - name: Collate code coverage results
-      run: lcov -d . -c > lcov.info
+      run: |
+        lcov -d . -c -o lcov.tests
+        lcov -a lcov.base -a lcov.tests -o lcov.total
     - name: Upload code coverage results
       uses: coverallsapp/github-action@master
       with:
         github-token: ${{ secrets.GITHUB_TOKEN }}
-        path-to-lcov: ./lcov.info
+        path-to-lcov: ./lcov.total
         flag-name: "Cgroup v1/v2 Functional Tests"
         parallel: True
     - name: Archive code coverage results
       if: ${{ always() }}
       uses: actions/upload-artifact@v2
       with:
-        name: Cgroup v1 Code Coverage
+        name: Cgroup v1v2 Code Coverage
         path: lcov.*
 
   functionaltestsv2: