File tree Expand file tree Collapse file tree 4 files changed +37
-32
lines changed
Expand file tree Collapse file tree 4 files changed +37
-32
lines changed Original file line number Diff line number Diff line change 99
1010 steps :
1111 - uses : actions/checkout@v2
12+ - name : Setup
13+ run : cargo install cargo-readme
1214 - name : Build
13- run : cargo build --verbose
15+ run : ./bin/ build
1416 - name : Run tests
15- run : cargo test --verbose
17+ run : ./bin/ test
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ set -e
3+
4+ cargo check --all-features
5+ cargo doc --all-features
6+ cargo fmt -- --check
7+
8+ cargo readme > .README.md
9+ diff README.md .README.md
10+
11+ cargo build
12+
13+ echo -e " \033[1;32mSUCCESS\033[0m"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ set -e
3+
4+ # Run tests with all features
5+ cargo test --all-features
6+ cargo test --doc --all-features
7+ cargo test --benches --all-features
8+
9+ # Run tests with no features
10+ cargo test
11+ cargo test --doc
12+ cargo test --benches
13+
14+ # Run tests with some features
15+ # If any other combination ever fails after the above passes, leave it here.
16+
17+ # Run examples
18+ cargo run --example count_records
19+
20+ echo -e " \033[1;32mSUCCESS\033[0m"
You can’t perform that action at this time.
0 commit comments