Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move ks #1525

Merged
merged 14 commits into from
Nov 18, 2024
Prev Previous commit
Next Next commit
msrv in distr_test
benjamin-lieser committed Nov 15, 2024
commit 1de4a6a505c72c48ef59bbad0eb7075323607797
2 changes: 1 addition & 1 deletion .github/workflows/distr_test.yml
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ on:
- "distr_test/**"

jobs:
benches:
distr_test:
runs-on: ubuntu-latest
defaults:
run:
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -101,12 +101,12 @@ jobs:
cargo test --target ${{ matrix.target }} --manifest-path rand_core/Cargo.toml
cargo test --target ${{ matrix.target }} --manifest-path rand_core/Cargo.toml --no-default-features
cargo test --target ${{ matrix.target }} --manifest-path rand_core/Cargo.toml --no-default-features --features=alloc,getrandom
cargo test --target ${{ matrix.target }} --manifest-path distr_test/Cargo.toml --release
- name: Test rand_distr
run: |
cargo test --target ${{ matrix.target }} --manifest-path rand_distr/Cargo.toml --features=serde
cargo test --target ${{ matrix.target }} --manifest-path rand_distr/Cargo.toml --no-default-features
cargo test --target ${{ matrix.target }} --manifest-path rand_distr/Cargo.toml --no-default-features --features=std,std_math
cargo test --target ${{ matrix.target }} --manifest-path distr_test/Cargo.toml --release
- name: Test rand_pcg
run: cargo test --target ${{ matrix.target }} --manifest-path rand_pcg/Cargo.toml --features=serde
- name: Test rand_chacha
2 changes: 2 additions & 0 deletions distr_test/Cargo.toml
Original file line number Diff line number Diff line change
@@ -8,6 +8,8 @@ publish = false
rand_distr = { path = "../rand_distr", version = "=0.5.0-alpha.1", default-features = false }
rand = { path = "..", version = "=0.9.0-alpha.1", features = ["small_rng"] }
num-traits = "0.2.19"
# Make 1.61 compatible
libm = {version = ">=0.2, < 0.2.10"}
# Special functions for testing distributions
special = "0.11.0"
spfunc = "0.1.0"