Skip to content

feat: Introduce new cargo feature flags (normal-distribution and erro… #20

feat: Introduce new cargo feature flags (normal-distribution and erro…

feat: Introduce new cargo feature flags (normal-distribution and erro… #20

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
types: [opened, reopened]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: Install nextest
shell: bash
run: |
curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
# - run: cargo fmt --all --check
- run: cargo check --workspace
- run: cargo clippy --all-features -- -D warnings
- run: cargo test --doc -- --show-output
- run: cargo nextest run
benchmarks:
name: Run benchmarks
runs-on: ubuntu-22.04
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install nightly toolchain
uses: dtolnay/rust-toolchain@nightly
- name: Run benchmarks
run: cargo +nightly bench
env:
RUSTFLAGS: --cfg=bench