From e90a272d924407a05e2e6507f8a422c48ca9b8ee Mon Sep 17 00:00:00 2001 From: Henrique Gemignani Passos Lima Date: Sat, 24 Jun 2023 03:16:57 +0300 Subject: [PATCH] Fix coverage reporting (#31) * Fix coverage reporting * Don't report coverage for asset_ids files * Change cov --- .github/workflows/python.yml | 5 +++-- codecov.yml | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 codecov.yml diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index bda7aa6..ec312ae 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -102,12 +102,13 @@ jobs: - name: Run Tests run: - venv/bin/python -m pytest --cov --durations=100 + venv/bin/python -m pytest --cov src --cov-report=xml --durations=100 - name: codecov uses: codecov/codecov-action@v3 with: - fail_ci_if_error: true + fail_ci_if_error: false + files: ./coverage.xml env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..f50e76a --- /dev/null +++ b/codecov.yml @@ -0,0 +1,3 @@ +ignore: + - tests/ + - src/open_prime_rando/echoes/asset_ids/ \ No newline at end of file