This is an automated email from the ASF dual-hosted git repository. xushiyan pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/hudi-rs.git
The following commit(s) were added to refs/heads/main by this push: new 1b0d81a chore: fix codecov report generation (#316) 1b0d81a is described below commit 1b0d81a6bf028e8340ede3ba48c3e8498388bd8e Author: Shiyan Xu <2701446+xushi...@users.noreply.github.com> AuthorDate: Mon Mar 31 01:08:59 2025 -0500 chore: fix codecov report generation (#316) --- .github/workflows/ci.yml | 3 ++- .github/workflows/code.yml | 2 +- python/pyproject.toml | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4bfe7f2..dddcee2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,7 +57,7 @@ jobs: os: [ ubuntu-22.04 ] runs-on: ${{ matrix.os }} container: - image: xd009642/tarpaulin:0.31.5 + image: xd009642/tarpaulin:0.32.3-slim options: --security-opt seccomp=unconfined steps: - uses: actions/checkout@v4 @@ -103,6 +103,7 @@ jobs: coverage xml --data-file=.coverage -o ./cov-reports/cov-report-python-tests-${{ join(matrix.*, '-') }}.xml - name: Upload coverage report uses: actions/upload-artifact@v4 + if: ${{ (matrix.os == 'ubuntu-22.04') && (matrix.python-version == '3.9') }} with: name: cov-report-python-tests-${{ join(matrix.*, '-') }} path: ./cov-reports diff --git a/.github/workflows/code.yml b/.github/workflows/code.yml index 9923c57..c067626 100644 --- a/.github/workflows/code.yml +++ b/.github/workflows/code.yml @@ -49,7 +49,7 @@ jobs: run: | make setup-venv source venv/bin/activate - pip install ruff==0.5.2 mypy==1.10.1 + pip install ruff==0.11.2 mypy==1.10.1 - name: Check python code style run: | diff --git a/python/pyproject.toml b/python/pyproject.toml index d5f5475..db309cf 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -39,8 +39,8 @@ dependencies = [ ] optional-dependencies = { devel = [ - "pytest", - "coverage", + "pytest==8.3.5", + "coverage==7.6.12", "ruff==0.11.2", "mypy==1.10.1", ] }