From 01c5b95d0534e1ed1860a2009f73dd1dfc667d4b Mon Sep 17 00:00:00 2001 From: Marius Conjeaud Date: Wed, 22 May 2024 09:03:23 +0200 Subject: [PATCH] Add specs to codecov GH Action --- .github/workflows/integration-tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index e4740f6a..5558d064 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -42,4 +42,7 @@ jobs: run: | pytest --cov=neomodel --cov-report=html:coverage_report - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v3with: + token: ${{ secrets.CODECOV_TOKEN }} # Ensure the token is used here + files: ./coverage.xml # Specify paths to coverage files + fail_ci_if_error: true # Optional: specify if CI should fail when codecov fails