Skip to content
Merged
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
8 changes: 2 additions & 6 deletions .github/workflows/main-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,7 @@ jobs:

- name: Run native tests
env:
# workaround for lack of ternary operator
# see https://github.com/orgs/community/discussions/25725
RUSTFLAGS: ${{ matrix.toolchain == 'nightly' && '--cfg nightly_yew' || '' }}
RUSTFLAGS: ${{ case(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 -p yew-link -p yew-link-macro
Expand All @@ -151,9 +149,7 @@ jobs:

- name: Run native tests for yew
env:
# workaround for lack of ternary operator
# see https://github.com/orgs/community/discussions/25725
RUSTFLAGS: ${{ matrix.toolchain == 'nightly' && '--cfg nightly_yew' || '' }}
RUSTFLAGS: ${{ case(matrix.toolchain == 'nightly', '--cfg nightly_yew', '') }}
run: cargo test -p yew --all-features

test-lints:
Expand Down
Loading