Skip to content

Commit ffd60b7

Browse files
committed
Split doc tests for space on disk
1 parent 3c08e32 commit ffd60b7

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,27 @@ jobs:
100100
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
101101
- name: Run cargo test
102102
run: cargo test --workspace --all-features --exclude yarnspinner_without_bevy_examples
103+
104+
test-bevy-docs:
105+
name: Test Docs with Bevy
106+
runs-on: ubuntu-latest
107+
timeout-minutes: 30
108+
steps:
109+
- uses: actions/checkout@v4
110+
with:
111+
submodules: "true"
112+
113+
- uses: dtolnay/rust-toolchain@master
114+
with:
115+
toolchain: stable
116+
117+
- name: Populate target directory from cache
118+
uses: Swatinem/rust-cache@v2
119+
with:
120+
save-if: ${{ github.ref == 'refs/heads/main' }}
121+
122+
- name: Install alsa and udev
123+
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
103124
- name: Run doc tests
104125
run: LD_LIBRARY_PATH="$(rustc --print target-libdir)" cargo test --workspace --all-features --doc --exclude yarnspinner_without_bevy_examples
105126

0 commit comments

Comments
 (0)