Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 7 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Main tests
name: Tests

on:
push:
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
with:
toolchain: nightly
- name: rand_core
run: cargo doc --all-features --no-deps
run: cargo doc --no-deps

test:
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -92,11 +92,9 @@ jobs:
- run: ${{ matrix.deps }}
- name: Maybe minimal versions
if: ${{ matrix.variant == 'minimal_versions' }}
run: |
cargo generate-lockfile -Z minimal-versions
run: cargo generate-lockfile -Z minimal-versions
- name: Test rand_core
run: |
cargo test --target ${{ matrix.target }}
run: cargo test --target ${{ matrix.target }}

test-cross:
runs-on: ${{ matrix.os }}
Expand All @@ -123,9 +121,7 @@ jobs:
- name: Install cross
run: cargo install cross || true
- name: Test
run: |
# all stable features:
cross test --no-fail-fast --target ${{ matrix.target }}
run: cross test --no-fail-fast --target ${{ matrix.target }}

test-miri:
runs-on: ubuntu-latest
Expand All @@ -137,8 +133,7 @@ jobs:
rustup override set nightly
cargo miri setup
- name: Test (miri)
run: |
cargo miri test
run: cargo miri test

test-no-std:
runs-on: ubuntu-latest
Expand All @@ -149,7 +144,7 @@ jobs:
with:
target: thumbv6m-none-eabi
- name: Build top-level only
run: cargo build --target=thumbv6m-none-eabi --no-default-features
run: cargo build --target=thumbv6m-none-eabi

test-ios:
runs-on: macos-latest
Expand Down
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
#![doc = include_str!("../README.md")]
#![doc(
html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
html_favicon_url = "https://www.rust-lang.org/favicon.ico",
html_root_url = "https://rust-random.github.io/rand/"
html_favicon_url = "https://www.rust-lang.org/favicon.ico"
)]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![deny(
Expand Down