diff --git a/rust/.config/nextest.toml b/.config/nextest.toml similarity index 100% rename from rust/.config/nextest.toml rename to .config/nextest.toml diff --git a/.copier-answers.yaml b/.copier-answers.yaml index ae48a48..96e9b7e 100644 --- a/.copier-answers.yaml +++ b/.copier-answers.yaml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: 2d2a72d +_commit: 02f55bd _src_path: https://github.com/python-project-templates/base.git add_docs: true add_extension: rustjswasm diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2ada5c6..539732c 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -65,15 +65,15 @@ jobs: persist-credentials: false - name: Setup Python - uses: actions-ext/python/setup@c8228d827a81b9f8c808825328af361c45461ba3 + uses: actions-ext/python/setup@c7ef9cbf13bc854a8d1422e9f8c6ee7a7ce1b911 with: version: ${{ matrix.python }} - name: Setup Rust - uses: actions-ext/rust/setup@10df15e12bbd1cc1cf48089f2e232349f98c74e7 + uses: actions-ext/rust/setup@af6343171cd1a86c4183da96de7eb96e15599662 - name: Setup Node.js - uses: actions-ext/node/setup@03c9f6b2d9c9fa2c26cfa22d0fa379a69329b319 + uses: actions-ext/node/setup@8bcebee998923fcc26f5854b4fd05ea378b58262 with: version: 22.x if: matrix.target == 'native' @@ -161,13 +161,13 @@ jobs: if: matrix.target == 'native' && runner.os != 'Linux' - name: Test wheel - uses: actions-ext/python/test-wheel@c8228d827a81b9f8c808825328af361c45461ba3 + uses: actions-ext/python/test-wheel@c7ef9cbf13bc854a8d1422e9f8c6ee7a7ce1b911 with: module: python_template_rust if: matrix.target == 'native' && runner.os == 'Linux' - name: Test source distribution - uses: actions-ext/python/test-sdist@c8228d827a81b9f8c808825328af361c45461ba3 + uses: actions-ext/python/test-sdist@c7ef9cbf13bc854a8d1422e9f8c6ee7a7ce1b911 with: module: python_template_rust if: matrix.name == 'ubuntu-24.04' diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index b1406f8..f958e8e 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -22,12 +22,12 @@ jobs: persist-credentials: false - name: Setup Python - uses: actions-ext/python/setup@c8228d827a81b9f8c808825328af361c45461ba3 + uses: actions-ext/python/setup@c7ef9cbf13bc854a8d1422e9f8c6ee7a7ce1b911 with: version: "3.11" - name: Download distributions - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8 + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: pattern: dist-ubuntu-24.04 merge-multiple: true diff --git a/Cargo.toml b/Cargo.toml index bb2f332..6ebdc75 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,9 +17,6 @@ pyo3 = { version = "0.30.1", features = ["abi3", "extension-module", "multiple-p panic = 'abort' lto = true -[profile.test.junit] -path = "junit.xml" - [workspace] members = [ "js", diff --git a/pyproject.toml b/pyproject.toml index dd832ac..73ea655 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,7 @@ develop = [ "hatch-rs>=0.3.0", "hatchling", "mdformat", - "mdformat-frontmatter", + "mdformat-myst", "mdformat-tables>=1", "pytest", "pytest-cov", diff --git a/rust/Makefile b/rust/Makefile index 48e7a91..2e60714 100644 --- a/rust/Makefile +++ b/rust/Makefile @@ -3,9 +3,9 @@ requirements: ## install required dev dependencies rustup component add rustfmt rustup component add clippy - cargo install --force --locked cargo-nextest - cargo install --force --locked cargo-llvm-cov - cargo install --force --locked wasm-bindgen-cli --version 0.2.129 + cargo install --locked cargo-nextest + cargo install --locked cargo-llvm-cov + cargo install --locked wasm-bindgen-cli --version 0.2.129 rustup target add wasm32-unknown-unknown develop: requirements ## install required dev dependencies @@ -33,7 +33,7 @@ checks: check .PHONY: test tests test-ci tests-ci test: ## run the tests - cargo llvm-cov nextest --cobertura --output-path junit.xml + cargo llvm-cov nextest --cobertura --output-path coverage.xml # alias tests: test