Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
70848b5
fix: test new workflow
thomasrockhu-codecov Feb 19, 2025
7adc642
fix: small edits
thomasrockhu-codecov Feb 19, 2025
440a861
fix: ls
thomasrockhu-codecov Feb 19, 2025
765e4ba
fix: update MANIFEST.in
thomasrockhu-codecov Feb 19, 2025
c5e9a1a
fix: add tests to build-dist
thomasrockhu-codecov Feb 19, 2025
8bd7d31
fix: small issue with len(None)
thomasrockhu-codecov Feb 19, 2025
b026e8d
fix: push up the list call
thomasrockhu-codecov Feb 19, 2025
20ad6bb
fix: update deps
thomasrockhu-codecov Feb 19, 2025
510e6d6
fix: update pytest command
thomasrockhu-codecov Feb 19, 2025
591fe7c
fix: underscore
thomasrockhu-codecov Feb 19, 2025
bc7cc9a
fix: use tests dir
thomasrockhu-codecov Feb 20, 2025
c705cde
fix: ls
thomasrockhu-codecov Feb 20, 2025
2ae276c
fix: use dot
thomasrockhu-codecov Feb 20, 2025
57d63d4
fix: use more path
thomasrockhu-codecov Feb 20, 2025
781a7c6
fix: ls -al
thomasrockhu-codecov Feb 20, 2025
74a0b76
fix: use literal {package}
thomasrockhu-codecov Feb 20, 2025
143743a
fix: add scripts to tests
thomasrockhu-codecov Feb 20, 2025
be1f2fd
fix: remove dupe
thomasrockhu-codecov Feb 20, 2025
ac8175a
fix: use project
thomasrockhu-codecov Feb 20, 2025
80cb5d1
fix: run codecovcli
thomasrockhu-codecov Feb 20, 2025
bc85829
fix: empty upload
thomasrockhu-codecov Feb 20, 2025
a3b166b
fix: just help
thomasrockhu-codecov Feb 20, 2025
54d2161
fix: try it again
thomasrockhu-codecov Feb 20, 2025
311f221
fix: skip 3.13
thomasrockhu-codecov Feb 20, 2025
43b65de
fix: add list_relevant_files stub
thomasrockhu-codecov Feb 20, 2025
8e12046
fix: move requirements file
thomasrockhu-codecov Feb 20, 2025
3e07406
fix: update req location for sdist
thomasrockhu-codecov Feb 20, 2025
ae51197
fix: make requirements not top-level
thomasrockhu-codecov Feb 20, 2025
5bcf2a0
fix: add requirements.txt to MANIFEST
thomasrockhu-codecov Feb 20, 2025
7057c41
Update codecov_cli/helpers/versioning_systems.py
thomasrockhu-codecov Feb 20, 2025
300df65
Update codecov_cli/services/upload/network_finder.py
thomasrockhu-codecov Feb 20, 2025
7cdfd68
fix: remove false
thomasrockhu-codecov Feb 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/build_for_pypi.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
---
name: Build and Optionally Publish to PyPi
name: Build for PyPi

on:
pull_request:
branches: main
workflow_call:
inputs:
publish:
type: boolean
default: false
description: "Publish to PyPi"
description: "Build for PyPi"

jobs:

build_src_for_pypi:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -64,4 +63,3 @@ jobs:
with:
name: cibw-wheels-${{ matrix.os }}
path: ./wheelhouse/*.whl

1 change: 0 additions & 1 deletion .github/workflows/release_flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ jobs:
find . -empty -type d -delete
ls -alrt */*
- name: Publish package to PyPi
if: false
uses: pypa/gh-action-pypi-publish@release/v1
with:
verbose: true
Expand Down
4 changes: 4 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
include languages/treesitterjavascript/src/tree_sitter/parser.h
include languages/treesitterpython/src/tree_sitter/parser.h
include requirements.txt

recursive-include codecov_cli *
recursive-include tests *
recursive-include samples *
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ The following tokens are suitable for uploading:
* The [Repository Upload Token](https://docs.codecov.com/docs/codecov-uploader#upload-token): Found on the settings page of your repository, also viewable on the `/new` page when setting up a repository on Codecov for the first time.
* The [Global Upload Token](https://docs.codecov.com/docs/codecov-uploader#organization-upload-token): Found on your organization settings page (e.g., `https://app.codecov.io/account/<scm>/<org>/org-upload-token`).

# Usage
If the installation is successful, running `codecovcli --help` will output the available commands along with the different general options that can be used with them.
# Usage
If the installation is successful, running `codecovcli --help` will output the available commands along with the different general options that can be used with them.

> [!IMPORTANT]
> [!IMPORTANT]
> For up-to-date command usage, please check the `codecovcli_commands` [file](https://github.com/codecov/codecov-cli/blob/main/codecovcli_commands)

```
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ env = [
packages = ["codecov_cli"]

[tool.cibuildwheel]
skip = "pp*"
skip = ["pp*", "cp313-*"]
test-command = "codecovcli --help"

[tool.cibuildwheel.config-settings]
pure-python = "false"
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_alpine_arm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ python setup.py build
STATICCODECOV_LIB_PATH=$(find build/ -maxdepth 1 -type d -name 'lib.*' -print -quit | xargs -I {} sh -c "find {} -type f -name 'staticcodecov*' -print -quit | sed 's|^./||'")
pip install pyinstaller
pyinstaller --add-binary ${STATICCODECOV_LIB_PATH}:. --copy-metadata codecov-cli --hidden-import staticcodecov_languages -F codecov_cli/main.py
cp ./dist/main ./dist/codecovcli_$1
cp ./dist/main ./dist/codecovcli_$1
2 changes: 2 additions & 0 deletions tests/requirements.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
packaging>=24.2 # to not conflict with setuptools-scm
pyyaml>=6.0.2
pre-commit
pytest
pytest-asyncio
Expand Down
12 changes: 8 additions & 4 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ iniconfig==2.0.0
# via pytest
nodeenv==1.8.0
# via pre-commit
packaging==23.2
# via pytest
packaging==24.2
# via
# -r requirements.in
# pytest
platformdirs==3.11.0
# via virtualenv
pluggy==1.3.0
Expand All @@ -41,8 +43,10 @@ pytest-env==1.1.0
# via -r requirements.in
pytest-mock==3.11.1
# via -r requirements.in
pyyaml==6.0.1
# via pre-commit
pyyaml==6.0.2
# via
# -r requirements.in
# pre-commit
virtualenv==20.26.6
# via pre-commit

Expand Down