diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 96a64b4c..a79acbeb 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -16,6 +16,8 @@ jobs: LUA: luajit2.1 LUAROCKS: 3.8.0 SSL: ${{ matrix.openssl_version }} + COVERALLS_PARALLEL: ON + COVERALLS_SERVICE_NAME: github-action steps: - uses: actions/checkout@v3 with: @@ -33,13 +35,25 @@ jobs: $HOME/.usr/bin/luarocks install luv ln -s $HOME/.usr/lib/lua/5.1/luv.so export PKG_CONFIG_PATH=$HOME/.usr/lib/pkgconfig + export LD_LIBRARY_PATH=$HOME/.usr/lib make coveralls - # coveralls -b . -i src --gcov-options '\-lp' - - name: Send coverage to Coveralls (parallel) - uses: coverallsapp/github-action@v1 - with: - parallel: true - flag-name: run-${{ matrix.openssl_version }} + coveralls -b . -i src --gcov-options '\-lp' + # - name: Send coverage to Coveralls (parallel) + # uses: coverallsapp/github-action@v1 + # with: + # parallel: true + # base-path: src + # flag-name: run-${{ matrix.openssl_version }} + finish: + needs: Coverage + if: ${{ always() }} + runs-on: ubuntu-latest + steps: + - name: Close parallel build + uses: coverallsapp/github-action@v1 + with: + parallel-finished: true + carryforward: "run-openssl-1.0.2u, run-openssl-1.1.1v, run-openssl-3.0.10, run-openssl-3.1.2" Valgrind: runs-on: ubuntu-20.04