Skip to content

Commit 5213709

Browse files
committed
fix(ci): disable debug tests
1 parent 08b2e2c commit 5213709

File tree

3 files changed

+9
-32
lines changed

3 files changed

+9
-32
lines changed

.github/workflows/docs-required-override.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,16 +78,6 @@ jobs:
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

.github/workflows/unit-tests.yml

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,6 @@ env:
3333
CXX: "sccache clang++"
3434

3535
jobs:
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.
@@ -80,7 +61,9 @@ jobs:
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"

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,21 @@ docker-run:
101101
test:
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

108109
test-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

113117
codecov:
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
117121
license:

0 commit comments

Comments
 (0)