File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -313,6 +313,22 @@ jobs:
313
313
RUST_BACKTRACE : 1
314
314
TRYBUILD : overwrite
315
315
316
+ docsrs :
317
+ if : ${{ contains(github.event.pull_request.labels.*.name, 'CI-build-full') || (github.event_name != 'pull_request' && github.ref != 'refs/heads/main') }}
318
+ needs : [fmt]
319
+ runs-on : ubuntu-latest
320
+ steps :
321
+ - uses : actions/checkout@v4
322
+ - uses : actions/setup-python@v4
323
+ - uses : Swatinem/rust-cache@v2
324
+ with :
325
+ key : cargo-careful
326
+ continue-on-error : true
327
+ - uses : dtolnay/rust-toolchain@nightly
328
+ with :
329
+ components : rust-src
330
+ - run : cargo rustdoc --lib --no-default-features --features "macros num-bigint num-complex hashbrown serde multiple-pymethods indexmap eyre either chrono rust_decimal" -Zunstable-options --config "build.rustdocflags=[\"--cfg\", \"docsrs\"]"
331
+
316
332
coverage :
317
333
needs : [fmt]
318
334
name : coverage-${{ matrix.os }}
@@ -387,6 +403,8 @@ jobs:
387
403
run : nox -s test-emscripten
388
404
389
405
test-debug :
406
+ needs : [fmt]
407
+ if : github.ref != 'refs/heads/main'
390
408
runs-on : ubuntu-latest
391
409
steps :
392
410
- uses : actions/checkout@v4
@@ -438,6 +456,7 @@ jobs:
438
456
- build-full
439
457
- valgrind
440
458
- careful
459
+ - docsrs
441
460
- coverage
442
461
- emscripten
443
462
if : always()
You can’t perform that action at this time.
0 commit comments