Skip to content

Adjust GH Actions (#1538) #21

Adjust GH Actions (#1538)

Adjust GH Actions (#1538) #21

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