diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index de00c20f..e20854cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,24 +27,24 @@ jobs: fail_ci_if_error: true token: ${{ secrets.CODECOV_TOKEN }} verbose: true - - name: Upload coverage to Codecov (env token) - uses: codecov/codecov-action@main - with: - 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 + #- name: Upload coverage to Codecov (env token) + #uses: codecov/codecov-action@main + #with: + # 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 #- name: Upload test results to Codecov # if: ${{ !cancelled() }} #uses: codecov/test-results-action@v1 diff --git a/app/test_calculator.py b/app/test_calculator.py index 30102437..e9513f43 100644 --- a/app/test_calculator.py +++ b/app/test_calculator.py @@ -27,5 +27,5 @@ def test_divide(): assert Calculator.divide(1, 2) == 0.5 assert Calculator.divide(1.0, 2.0) == 0.5 assert Calculator.divide(0, 2.0) == 0 - # assert Calculator.divide(-4, 2.0) == -2.0 - assert Calculator.divide(2.0, 0.0) == 'Cannot divide by 0' \ No newline at end of file + assert Calculator.divide(-4, 2.0) == -2.0 + # assert Calculator.divide(2.0, 0.0) == 'Cannot divide by 0' \ No newline at end of file