File tree Expand file tree Collapse file tree 3 files changed +9
-32
lines changed
Expand file tree Collapse file tree 3 files changed +9
-32
lines changed Original file line number Diff line number Diff line change 7878 steps :
7979 - run : echo "No-op job to trigger the required checks."
8080
81- override_unit_tests :
82- name : tests
83- runs-on : ubuntu-24.04-arm
84- needs :
85- - changes-docs
86- - changes-not-docs
87- if : ${{ (needs.changes-docs.outputs.changesFound == 'true') && (needs.changes-not-docs.outputs.otherChangesFound == 'false') }}
88- steps :
89- - run : echo "No-op job to trigger the required checks."
90-
9181 override_unit_tests_release :
9282 name : tests-release
9383 runs-on : ubuntu-24.04-arm
Original file line number Diff line number Diff line change 3333 CXX : " sccache clang++"
3434
3535jobs :
36- tests :
37- runs-on : ubuntu-24.04-arm
38- # Run the job only if the PR is not a draft.
39- # This is done to limit the runner cost.
40- if : github.event.pull_request.draft == false
41- timeout-minutes : 45
42- steps :
43- - name : Checkout Sources
44- uses : actions/checkout@v6
45- - name : Setup sccache
46- uses :
mozilla-actions/[email protected] 47- timeout-minutes : ${{ fromJSON(env.CACHE_TIMEOUT_MINUTES) }}
48- continue-on-error : true
49- - uses : actions/setup-go@v6
50- with :
51- go-version-file : " go.work"
52- - name : install nextest
53- uses : taiki-e/install-action@nextest
54- - run : make test
5536 tests-release :
5637 runs-on : ubuntu-24.04-arm
5738 # Run the job only if the PR is not a draft.
8061 go-version-file : " go.work"
8162 - name : install nextest
8263 uses : taiki-e/install-action@nextest
83- - run : make test-release
64+ - run : |
65+ make test-release-docs
66+ make test-release
8467 env:
8568 # To minimize compile times: https://nnethercote.github.io/perf-book/build-configuration.html#minimizing-compile-times
8669 RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=lld"
Original file line number Diff line number Diff line change @@ -101,17 +101,21 @@ docker-run:
101101test :
102102 cargo nextest run --workspace --no-fail-fast
103103
104+ test-docs :
104105 # nextest doesn't run doctests https://github.com/nextest-rs/nextest/issues/16
105106 # see also lib.rs::doctest_private
106107 cargo test --doc --features doctest-private
107108
108109test-release :
109110 cargo nextest run --cargo-profile quick --workspace --no-fail-fast
110111
111- test-all : test test-release
112+ test-release-docs :
113+ # nextest doesn't run doctests https://github.com/nextest-rs/nextest/issues/16
114+ # see also lib.rs::doctest_private
115+ cargo test --release --doc --features doctest-private
112116
113117codecov :
114- cargo llvm-cov --workspace --codecov --output-path lcov.info --ignore-run-fail
118+ cargo llvm-cov --workspace --codecov --output-path lcov.info
115119
116120# Checks if all headers are present and adds if not
117121license :
You can’t perform that action at this time.
0 commit comments