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
2 changes: 1 addition & 1 deletion .copier-answers.yaml
Original file line number Diff line number Diff line change
@@ -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: rust
Expand Down
4 changes: 3 additions & 1 deletion .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ updates:
- "part: dependencies"

- package-ecosystem: "cargo"
directory: "/"
directories:
- "/"
- "/rust"
schedule:
interval: "monthly"
cooldown:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ 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: Install dependencies
run: make develop
Expand Down Expand Up @@ -155,13 +155,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'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ develop = [
"hatch-rs>=0.3.0",
"hatchling",
"mdformat",
"mdformat-frontmatter",
"mdformat-myst",
"mdformat-tables>=1",
"pytest",
"pytest-cov",
Expand Down
3 changes: 0 additions & 3 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,3 @@ crate-type = ["rlib"]

[dependencies]

[profile.test.junit]
path = "junit.xml"

6 changes: 3 additions & 3 deletions rust/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
requirements: ## install required dev dependencies
rustup component add rustfmt
rustup component add clippy
cargo install --locked --force cargo-nextest
cargo install --force cargo-llvm-cov
cargo install --locked cargo-nextest
cargo install --locked cargo-llvm-cov

develop: requirements ## install required dev dependencies

Expand All @@ -31,7 +31,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
Expand Down
Loading