⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
14 changes: 4 additions & 10 deletions .github/workflows/build_assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ jobs:
TARGET: macos
# currently, wrapt pulls the arm64 version instead of the universal one, so the below is a hack
CMD_REQS: >
mkdir -p pip-packages && cd pip-packages && pip wheel --no-cache-dir --no-binary tree_sitter,ijson,charset_normalizer,PyYAML .. &&
mkdir -p pip-packages && cd pip-packages && pip wheel --no-cache-dir --no-binary ijson,charset_normalizer,PyYAML .. &&
rm $(ls | grep wrapt) && pip download wrapt --platform=universal2 --only-binary=:all: && pip install $(ls | grep wrapt) --force-reinstall && cd .. &&
pip install --no-deps --no-index --find-links=pip-packages pip-packages/*
CMD_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|^./||'") &&
pyinstaller --add-binary ${STATICCODECOV_LIB_PATH}:. --copy-metadata codecov-cli --hidden-import staticcodecov_languages --target-arch universal2 -F codecov_cli/main.py &&
pyinstaller --copy-metadata codecov-cli --target-arch universal2 -F codecov_cli/main.py &&
mv dist/main dist/codecovcli_macos &&
lipo -archs dist/codecovcli_macos | grep 'x86_64 arm64'
OUT_FILE_NAME: codecovcli_macos
Expand All @@ -37,8 +36,7 @@ jobs:
CMD_REQS: >
pip install -r requirements.txt && pip install .
CMD_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|^./||'") &&
pyinstaller --add-binary ${STATICCODECOV_LIB_PATH}:. --copy-metadata codecov-cli --hidden-import staticcodecov_languages -F codecov_cli/main.py &&
pyinstaller --copy-metadata codecov-cli -F codecov_cli/main.py &&
cp ./dist/main ./dist/codecovcli_linux
OUT_FILE_NAME: codecovcli_linux
ASSET_MIME: application/octet-stream
Expand All @@ -48,15 +46,13 @@ jobs:
CMD_REQS: >
pip install -r requirements.txt && pip install .
CMD_BUILD: >
pyinstaller --add-binary "build\lib.win-amd64-cpython-311\staticcodecov_languages.cp311-win_amd64.pyd;." --copy-metadata codecov-cli --hidden-import staticcodecov_languages -F codecov_cli\main.py &&
pyinstaller --copy-metadata codecov-cli -F codecov_cli\main.py &&
Copy-Item -Path ".\dist\main.exe" -Destination ".\dist\codecovcli_windows.exe"
OUT_FILE_NAME: codecovcli_windows.exe
ASSET_MIME: application/vnd.microsoft.portable-executable

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Set up Python 3.11
uses: actions/setup-python@v3
Expand Down Expand Up @@ -119,8 +115,6 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build_for_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
- uses: actions/checkout@v4
with:
persist-credentials: false
submodules: true

- name: Install dependencies
run: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 2

- name: Set up Python 3.12
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Check linting with ruff
run: |
Expand All @@ -27,8 +25,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Set up Python 3.13
uses: actions/setup-python@v5
Expand All @@ -44,7 +40,7 @@ jobs:

- name: Run command_dump
run: |
./command_dump.py
python command_dump.py

- name: Detect changes on commit
run: |
Expand All @@ -60,7 +56,6 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 2

- uses: actions/setup-python@v5
Expand Down Expand Up @@ -90,7 +85,6 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 2

- name: Set up Python ${{matrix.python-version}}
Expand Down
6 changes: 0 additions & 6 deletions .gitmodules

This file was deleted.

2 changes: 0 additions & 2 deletions codecov-cli/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
include languages/treesitterjavascript/src/tree_sitter/parser.h
include languages/treesitterpython/src/tree_sitter/parser.h
include requirements.txt

recursive-include codecov_cli *
Expand Down
Loading