From 274b6567ca9e52715719994026171a645e57a81b Mon Sep 17 00:00:00 2001 From: "alon.dotan" Date: Tue, 2 Jul 2024 17:15:52 +0300 Subject: [PATCH] Re-enable codecov --- .github/workflows/coverage.yml | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index a92b63bfeb..1939eb32ab 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -20,19 +20,21 @@ jobs: with: python-version: 'pypy3.9' - run: ln -s '${{ steps.setup-pypy.outputs.python-path }}' /usr/local/bin/pypy3.9 - - env: - LD_LIBRARY_PATH: ${{ steps.setup-pypy.outputs.pythonLocation }}/bin - run: echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}" >> $GITHUB_ENV - name: Install cargo-llvm-cov uses: taiki-e/install-action@cargo-llvm-cov - # - name: Generate code coverage - # run: cargo llvm-cov --codecov --output-path codecov.json - # env: - # SEED: 0 - # - name: Upload coverage to Codecov - # uses: codecov/codecov-action@v3 - # with: - # token: ${{ secrets.CODECOV_TOKEN }} - # verbose: true - # fail_ci_if_error: true + - name: Generate code coverage + run: | + echo --- $LD_LIBRARY_PATH --- + env + echo ----------------------- + cargo llvm-cov --codecov --output-path codecov.json + env: + SEED: 0 + LD_LIBRARY_PATH: ${{ steps.setup-pypy.outputs.pythonLocation }}/bin + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v3 + with: + token: ${{ secrets.CODECOV_TOKEN }} + verbose: true + fail_ci_if_error: true