Skip to content

Commit

Permalink
Merge branch 'main' into fix-git-service
Browse files Browse the repository at this point in the history
  • Loading branch information
kdarkhan authored Feb 14, 2024
2 parents 6180e88 + 3662353 commit a444519
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,12 @@ jobs:
pip install -r tests/requirements.txt
- name: Test with pytest
run: |
pytest --cov
pytest --cov --junitxml=junit.xml
- name: Dogfooding codecov-cli
if: ${{ !github.event.pull_request.head.repo.fork && github.repository_owner == 'codecov' }}
run: |
codecovcli do-upload --fail-on-error -t ${{ secrets.CODECOV_TOKEN }} --plugin pycoverage --flag python${{matrix.python-version}}
codecovcli do-upload --report-type test_results --fail-on-error -t ${{ secrets.CODECOV_TOKEN }} --plugin pycoverage --flag python${{matrix.python-version}}
static-analysis:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion codecov_cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
)
@click.option(
"--codecov-yml-path",
type=click.Path(path_type=typing.Optional[pathlib.Path]),
type=click.Path(path_type=pathlib.Path),
default=None,
)
@click.option(
Expand Down
2 changes: 1 addition & 1 deletion codecov_cli/services/upload/file_finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
]

test_results_files_patterns = [
"*junit*",
"*junit.xml",
]

coverage_files_excluded_patterns = [
Expand Down

0 comments on commit a444519

Please sign in to comment.