diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 60cd176c6d70..7e8c2353c5e5 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -5,12 +5,14 @@ on: paths: - '**.rs' - '**.py' + - .github/workflows/codecov.yml push: branches: - main paths: - '**.rs' - '**.py' + - .github/workflows/codecov.yml concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -32,6 +34,9 @@ jobs: CARGO_LLVM_COV: 1 CARGO_LLVM_COV_SHOW_ENV: 1 CARGO_LLVM_COV_TARGET_DIR: '/Users/runner/work/polars/polars/target' + # Workaround for issue compiling libz-ng-sys crate on macOS (resource temporarily unavailable) + # See: https://github.com/pola-rs/polars/pull/14715 + CMAKE_BUILD_PARALLEL_LEVEL: 10 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/release-python.yml b/.github/workflows/release-python.yml index ac1a272746eb..87c5803c5a28 100644 --- a/.github/workflows/release-python.yml +++ b/.github/workflows/release-python.yml @@ -108,6 +108,12 @@ jobs: with: swap-size-gb: 10 + # Workaround for issue compiling libz-ng-sys crate on macOS (resource temporarily unavailable) + # See: https://github.com/pola-rs/polars/pull/14715 + - name: Set cmake build threads for MacOS + if: matrix.os == 'macos-latest' + run: echo "CMAKE_BUILD_PARALLEL_LEVEL=10" >> $GITHUB_ENV + - name: Set up Python uses: actions/setup-python@v5 with: