From 957635588d6b9c742e54d3be58518fec9a9d8d6d Mon Sep 17 00:00:00 2001 From: "alon.dotan" Date: Tue, 2 Jul 2024 17:15:52 +0300 Subject: [PATCH] fix(native_blockifier): re-enable codecov --- .github/workflows/coverage.yml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index a92b63bfeb..0f8866e73b 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -20,19 +20,17 @@ 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: cargo llvm-cov --codecov --output-path codecov.json + env: + SEED: 0 + LD_LIBRARY_PATH: ${{ env.Python3_ROOT_DIR }}/bin + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v3 + with: + token: ${{ secrets.CODECOV_TOKEN }} + verbose: true + fail_ci_if_error: true