Skip to content

Commit

Permalink
Test distr_test from distr_test job
Browse files Browse the repository at this point in the history
  • Loading branch information
dhardy committed Nov 27, 2024
1 parent 72653e2 commit bf21507
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 19 deletions.
37 changes: 29 additions & 8 deletions .github/workflows/distr_test.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,45 @@
name: distr_test

on:
push:
branches: [ master ]
paths-ignore:
- "**.md"
- "benches/**"
- "examples/**"
pull_request:
paths:
- ".github/workflows/distr_test.yml"
- "distr_test/**"
branches: [ master ]
paths-ignore:
- "**.md"
- "benches/**"
- "examples/**"

defaults:
run:
working-directory: ./distr_test

jobs:
distr_test:
clippy-fmt:
name: Check Clippy and rustfmt
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./distr_test
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
toolchain: stable
components: clippy, rustfmt
- name: Rustfmt
run: cargo fmt -- --check
- name: Clippy
run: cargo clippy --all-targets -- -D warnings

test-ks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install toolchain
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
- name: Test Komogorov Smirnov
run: cargo test --release
11 changes: 0 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,17 +132,6 @@ jobs:
- name: Test rand_chacha
run: cargo test --target ${{ matrix.target }} --manifest-path rand_chacha/Cargo.toml --features=serde

test-ks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
with:
target: x86_64-unknown-linux-gnu
- name: Test Komogorov Smirnov
run: cargo test --manifest-path distr_test/Cargo.toml --release

test-cross:
runs-on: ${{ matrix.os }}
strategy:
Expand Down

0 comments on commit bf21507

Please sign in to comment.