From cd3c4c850ff2d8a69f30d04e190d27723d03f6ac Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Fri, 31 Oct 2025 20:04:37 +0500 Subject: [PATCH] fix: make a PR --- .github/workflows/ci.yml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 76608502..ee55660f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,5 @@ name: Workflow for Codecov example-python -on: [push, pull_request] +on: [push] jobs: run: runs-on: ubuntu-latest @@ -16,11 +16,6 @@ jobs: run: pip install -r requirements.txt - name: Run tests and collect coverage run: pytest --cov app --junitxml=junit.xml -o junit_family=legacy - - name: Upload test results to Codecov - if: ${{ !cancelled() }} - uses: codecov/test-results-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - name: Upload coverage to Codecov (arg token) uses: codecov/codecov-action@main with: @@ -30,18 +25,8 @@ jobs: - name: Upload coverage to Codecov (env token) uses: codecov/codecov-action@main with: + pr: 328 fail_ci_if_error: true verbose: true env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - - name: Upload coverage to Codecov (no token) - uses: codecov/codecov-action@main - with: - fail_ci_if_error: true - verbose: true - - name: Upload coverage to Codecov (oidc) - uses: codecov/codecov-action@main - with: - fail_ci_if_error: true - use_oidc: true - verbose: true