2626 save-cache : ${{ github.ref_name == 'main' }}
2727 cache-key : warm
2828 - run : cargo ck
29- - run : cargo test --all-features
29+ - run : cargo test --all-features --exclude website
30+ - run : cargo test -p website
3031 - run : git diff --exit-code # Must commit everything
3132
3233 test-ubuntu-website :
6566 save-cache : ${{ github.ref_name == 'main' }}
6667 cache-key : warm-aarch64
6768 - run : cargo ck
68- - run : cargo test --all-features
69+ - run : cargo test --all-features --exclude website
70+ - run : cargo test -p website
6971 - run : git diff --exit-code # Must commit everything
7072
7173 test-mac : # Separate job to save a job on PRs
8082 save-cache : ${{ github.ref_name == 'main' }}
8183 cache-key : warm
8284 - run : cargo ck
83- - run : cargo test --all-features
85+ - run : cargo test --all-features --exclude website
86+ - run : cargo test -p website
8487 - run : git diff --exit-code # Must commit everything
8588
8689 test-windows :
@@ -122,7 +125,11 @@ jobs:
122125 save-if : ${{ github.ref_name == 'main' }}
123126 shared-key : windows-latest
124127
125- - run : cargo test --all-features # cargo ck # no need to `cargo ck` because it's already checked in linux
128+ - name : Run tests
129+ # cargo ck # no need to `cargo ck` because it's already checked in linux
130+ run : |
131+ cargo test --all-features --exclude website
132+ cargo test -p website
126133 working-directory : ${{ env.DEV_DRIVE_WORKSPACE }}
127134 shell : bash
128135
@@ -138,7 +145,8 @@ jobs:
138145 save-cache : ${{ github.ref_name == 'main' }}
139146 cache-key : s390x-unknown-linux-gnu
140147 tools : cross
141- - run : cross test --all-features --target s390x-unknown-linux-gnu
148+ - run : cross test --all-features --exclude website --target s390x-unknown-linux-gnu
149+ - run : cross test -p website --target s390x-unknown-linux-gnu
142150
143151 test-wasm32-wasip1-threads :
144152 name : Test wasm32-wasip1-threads
0 commit comments