mirror of
https://github.com/chronotope/chrono.git
synced 2025-09-27 04:50:52 +00:00
Add chrono-fuzz to CI
Ensures future changes to break it again.
This commit is contained in:
parent
90c7e55738
commit
d1043f39c8
8
.github/workflows/lint.yml
vendored
8
.github/workflows/lint.yml
vendored
@ -13,8 +13,12 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- run: cargo fmt -- --check --color=always
|
||||
- run: cargo clippy --color=always -- -D warnings -A clippy::manual-non-exhaustive
|
||||
- run: |
|
||||
cargo fmt --check -- --color=always
|
||||
cargo fmt --check --manifest-path fuzz/Cargo.toml
|
||||
- run: |
|
||||
cargo clippy --color=always -- -D warnings -A clippy::manual-non-exhaustive
|
||||
cargo clippy --manifest-path fuzz/Cargo.toml --color=always -- -D warnings
|
||||
env:
|
||||
RUSTFLAGS: "-Dwarnings"
|
||||
|
||||
|
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
@ -62,6 +62,7 @@ jobs:
|
||||
with:
|
||||
toolchain: ${{ matrix.rust_version }}
|
||||
- uses: Swatinem/rust-cache@v1
|
||||
- run: cargo check --manifest-path fuzz/Cargo.toml --all-targets
|
||||
# run --lib and --doc to avoid the long running integration tests which are run elsewhere
|
||||
- run: cargo test --lib --all-features --color=always -- --color=always
|
||||
- run: cargo test --doc --all-features --color=always -- --color=always
|
||||
|
Loading…
x
Reference in New Issue
Block a user