Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
TARGET_FLAGS: ${{ case(matrix.target == 'wasm32', '--target wasm32-unknown-unknown', null) }}
run: >-
cargo hack clippy
-p yew -p yew-agent -p yew-router
-p yew -p yew-agent -p yew-router -p yew-link
--feature-powerset --no-dev-deps
--keep-going
$RELEASE_FLAG
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/main-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ jobs:
RUSTFLAGS: ${{ matrix.toolchain == 'nightly' && '--cfg nightly_yew' || '' }}
run: |
if [[ "${{ matrix.toolchain }}" == "1.85.0" ]]; then
cargo test --all-targets -p yew-agent -p yew-agent-macro -p yew-router
cargo test --all-targets -p yew-agent -p yew-agent-macro -p yew-router -p yew-link -p yew-link-macro
else
ls packages | grep -v "^yew$" | xargs -I {} cargo test --all-targets -p {}
fi
Expand Down Expand Up @@ -301,9 +301,12 @@ jobs:
fail-fast: false
matrix:
include:
- example: ssr_router
- example: axum_ssr_router
server_bin: ssr_router_server
trunk_dir: examples/ssr_router
trunk_dir: examples/axum_ssr_router
- example: actix_ssr_router
server_bin: ssr_router_server
trunk_dir: examples/actix_ssr_router
- example: simple_ssr
server_bin: simple_ssr_server
trunk_dir: examples/simple_ssr
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/test-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,21 @@ jobs:

- name: Run website code snippet tests
run: cargo test -p website-test --target wasm32-unknown-unknown

website_tests_native:
name: Tests Website Snippets (native)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6

- name: Setup toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable

- uses: Swatinem/rust-cache@v2
with:
save-if: ${{ github.ref == 'refs/heads/master' }}

- name: Run website code snippet tests
run: cargo test -p website-test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ dist/
*.iml
/.idea/
/.vscode/
.nvim.lua
Loading
Loading