Run doctests in ci (#533)

Fixes #500
This commit is contained in:
Matt Armstrong 2024-08-22 00:36:12 -07:00 committed by GitHub
parent bd83ed25b8
commit dba9742481
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -259,6 +259,11 @@ jobs:
run: cargo nextest run --workspace --locked --all-features
env:
SKIP_RENDER_TESTS: ${{ matrix.skip_gpu }}
# Run doc tests separately because nexttest doesn't run them.
# See https://github.com/linebender/xilem/issues/500
- name: cargo test doc
run: cargo test --doc --workspace --locked --all-features
- uses: actions/upload-artifact@v4
if: failure()