diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index b42652da..428353a5 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -27,6 +27,8 @@ jobs: run: make -j$(nproc) - name: make check run: make check || { cat tests/test-suite.log; exit 1; } + - name: sudo make check + run: sudo make check || { cat tests/test-suite.log; exit 1; } - name: make distcheck run: make distcheck - name: make install diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 845effe5..a3dc38e3 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -21,8 +21,12 @@ jobs: run: make check-code-coverage \ CODE_COVERAGE_OUTPUT_FILE=lcov.info \ CODE_COVERAGE_LCOV_OPTIONS="--no-external --exclude */tests/*" + - name: sudo make check + run: sudo make check-code-coverage \ + CODE_COVERAGE_OUTPUT_FILE=lcov-sudo.info \ + CODE_COVERAGE_LCOV_OPTIONS="--no-external --exclude */tests/*" - name: Coveralls uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }} - file: ./lcov.info + files: ./lcov.info ./lcov-sudo.info diff --git a/.github/workflows/ell-master.yml b/.github/workflows/ell-master.yml index c0f9f048..50688212 100644 --- a/.github/workflows/ell-master.yml +++ b/.github/workflows/ell-master.yml @@ -37,3 +37,5 @@ jobs: run: make -j$(nproc) - name: make check run: make check || { cat tests/test-suite.log; exit 1; } + - name: sudo make check + run: sudo make check || { cat tests/test-suite.log; exit 1; } diff --git a/.github/workflows/ell-min.yml b/.github/workflows/ell-min.yml index e0ffa26e..0ec0fd7e 100644 --- a/.github/workflows/ell-min.yml +++ b/.github/workflows/ell-min.yml @@ -35,3 +35,5 @@ jobs: run: make -j$(nproc) - name: make check run: make check || { cat tests/test-suite.log; exit 1; } + - name: sudo make check + run: sudo make check || { cat tests/test-suite.log; exit 1; }