github workflow: use '--features pretty' option
This commit is contained in:
parent
804741cd62
commit
5a2cdbf009
1 changed files with 7 additions and 8 deletions
15
.github/workflows/cargo-test.yml
vendored
15
.github/workflows/cargo-test.yml
vendored
|
@ -2,21 +2,20 @@ name: Rust
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ "dev" ]
|
||||
branches: ["dev"]
|
||||
pull_request:
|
||||
branches: [ "dev" ]
|
||||
branches: ["dev"]
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
- name: Run tests
|
||||
run: cargo test --verbose
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build
|
||||
run: cargo build --verbose --features pretty
|
||||
- name: Run tests
|
||||
run: cargo test --verbose --features pretty
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue