-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: migrate to
nextest
, have actions run on push to master and dev
- Loading branch information
1 parent
e519d76
commit 649c17e
Showing
1 changed file
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Build and test Rust code | |
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
branches: [ "master", "dev" ] | ||
pull_request: | ||
branches: [ "master", "dev" ] | ||
|
||
|
@@ -18,12 +18,18 @@ jobs: | |
- name: Checkout repository | ||
uses: actions/[email protected] | ||
- name: Install stable Rust | ||
uses: dtolnay/rust-toolchain@stable | ||
uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: stable | ||
- name: Install nextest | ||
uses: taiki-e/install-action@v2 | ||
with: | ||
tool: nextest | ||
- name: Cache | ||
uses: Swatinem/rust-cache@v2 | ||
- name: Build | ||
- name: Compile project | ||
run: cargo build --verbose | ||
- name: Run tests | ||
run: cargo test --verbose | ||
- name: Run unit and integration tests | ||
run: cargo nextest run --all-features --all-targets --workspace --verbose | ||
- name: Run documentation tests | ||
run: cargo test --all-features --doc --verbose |