From d804cba69f8d56b51a7f8dd0dacd35f2df294f7f Mon Sep 17 00:00:00 2001 From: Matt Hammerly Date: Wed, 25 Sep 2024 14:08:43 -0700 Subject: [PATCH] get maturin ci passing completely --- .github/workflows/publish.yml | 8 +++++++- test_utils/fixtures/pyreport/.gitattributes | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 test_utils/fixtures/pyreport/.gitattributes diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0002293..fb99556 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -# This file is autogenerated by maturin v1.7.1 +# This file is autogenerated by maturin v1.7.2 # To update, run # # maturin generate-ci github --pytest @@ -9,9 +9,11 @@ # - add "packages: write" permission for uraimo/run-on-arch-action caching # - remove unnecessary target platforms # - make run-on-arch-action use deadsnakes Python 3.12 +# - hardcode maturin version v1.7.2 because of a bug name: CI on: + pull_request: release: types: - created @@ -44,6 +46,7 @@ jobs: args: --release --out dist sccache: 'true' manylinux: auto + maturin-version: 'v1.7.2' - name: Upload wheels uses: actions/upload-artifact@v4 with: @@ -105,6 +108,7 @@ jobs: args: --release --out dist sccache: 'true' manylinux: musllinux_1_2 + maturin-version: 'v1.7.2' - name: Upload wheels uses: actions/upload-artifact@v4 with: @@ -162,6 +166,7 @@ jobs: target: ${{ matrix.platform.target }} args: --release --out dist sccache: 'true' + maturin-version: 'v1.7.2' - name: Upload wheels uses: actions/upload-artifact@v4 with: @@ -198,6 +203,7 @@ jobs: target: ${{ matrix.platform.target }} args: --release --out dist sccache: 'true' + maturin-version: 'v1.7.2' - name: Upload wheels uses: actions/upload-artifact@v4 with: diff --git a/test_utils/fixtures/pyreport/.gitattributes b/test_utils/fixtures/pyreport/.gitattributes new file mode 100644 index 0000000..88a75ff --- /dev/null +++ b/test_utils/fixtures/pyreport/.gitattributes @@ -0,0 +1,2 @@ +# Pyreports are only created on Codecov's Linux backend, no need for CRLF +* text eol=lf