Fix docs.rs build options (#1539) #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: distr_test | |
on: | |
push: | |
branches: [ master ] | |
paths-ignore: | |
- "**.md" | |
- "benches/**" | |
- "examples/**" | |
pull_request: | |
branches: [ master ] | |
paths-ignore: | |
- "**.md" | |
- "benches/**" | |
- "examples/**" | |
defaults: | |
run: | |
working-directory: ./distr_test | |
jobs: | |
clippy-fmt: | |
name: Check Clippy and rustfmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
components: clippy, rustfmt | |
- name: Rustfmt | |
run: cargo fmt -- --check | |
- name: Clippy | |
run: cargo clippy --all-targets -- -D warnings | |
ks-tests: | |
name: Run Komogorov Smirnov tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: nightly | |
- run: cargo test --release |