Skip to content

Fix docs.rs build options (#1539) #22

Fix docs.rs build options (#1539)

Fix docs.rs build options (#1539) #22

Workflow file for this run

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