diff --git a/.coverage b/.coverage new file mode 100644 index 00000000..794b6334 Binary files /dev/null and b/.coverage differ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 76608502..8ae14418 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,27 +21,12 @@ jobs: uses: codecov/test-results-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} - - name: Upload coverage to Codecov (arg token) + - name: Upload coverage to Codecov (fake Codecov out) uses: codecov/codecov-action@main with: fail_ci_if_error: true + files: coverage-fake.xml 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 + flags: fake-stuff + disable_search: true diff --git a/app/.coverage b/app/.coverage new file mode 100644 index 00000000..794b6334 Binary files /dev/null and b/app/.coverage differ diff --git a/codecov.yml b/codecov.yml index 1ed5513f..33c1735d 100644 --- a/codecov.yml +++ b/codecov.yml @@ -11,3 +11,6 @@ cli: plugins: pycoverage: report_type: "json" + +fixes: + - "::app/" diff --git a/coverage-fake.xml b/coverage-fake.xml new file mode 100644 index 00000000..d30eb057 --- /dev/null +++ b/coverage-fake.xml @@ -0,0 +1,63 @@ + + + + + + /Users/thomashu/src/github/codecov/example-python + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/fake/__init__.py b/fake/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/fake/calculator.py b/fake/calculator.py new file mode 100644 index 00000000..e69de29b diff --git a/fake/test_calculator.py b/fake/test_calculator.py new file mode 100644 index 00000000..e69de29b