Skip to content

Commit 7c64d99

Browse files
authored
ci: rearrange doc test to shorten the testing time (#975)
* feat(ci): rearrange doc test to shorten the testing time * doc(ci): improve the names of jobs * ci: use shorter name for better visualization
1 parent 274166d commit 7c64d99

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ env:
2727

2828
jobs:
2929
check:
30-
name: Run checks on ${{ matrix.os }}
30+
name: Lints and doc tests on ${{ matrix.os }}
3131
runs-on: ${{ matrix.os }}
3232
strategy:
3333
fail-fast: false
@@ -66,8 +66,11 @@ jobs:
6666
- name: Perform no_std checks
6767
run: cargo check --bin nostd_check --target x86_64-unknown-none --manifest-path ci/nostd-check/Cargo.toml
6868

69+
- name: Run doctests
70+
run: cargo test --doc
71+
6972
test:
70-
name: Run tests on ${{ matrix.os }}
73+
name: Unit tests on ${{ matrix.os }}
7174
runs-on: ${{ matrix.os }}
7275
strategy:
7376
fail-fast: false
@@ -105,9 +108,6 @@ jobs:
105108
if: ${{ matrix.os == 'ubuntu-latest' }}
106109
run: cargo nextest run -p zenohd --no-default-features
107110

108-
- name: Run doctests
109-
run: cargo test --doc
110-
111111
valgrind:
112112
name: Memory leak checks
113113
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)