Skip to content

Commit

Permalink
use --all-features in various places
Browse files Browse the repository at this point in the history
  • Loading branch information
WorldSEnder committed May 7, 2022
1 parent 23a70e9 commit a1a061e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main-checks.yml
Expand Up @@ -120,7 +120,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: test
args: -p yew --doc --features csr,hydration,ssr --target wasm32-unknown-unknown
args: -p yew --doc --all-features --target wasm32-unknown-unknown

integration_tests:
name: Integration Tests on ${{ matrix.toolchain }}
Expand Down Expand Up @@ -159,8 +159,8 @@ jobs:
- name: Run tests - yew
run: |
cd packages/yew
CHROMEDRIVER=$(which chromedriver) cargo test --features csr,hydration,ssr --target wasm32-unknown-unknown
GECKODRIVER=$(which geckodriver) cargo test --features csr,hydration,ssr --target wasm32-unknown-unknown
CHROMEDRIVER=$(which chromedriver) cargo test --all-features --target wasm32-unknown-unknown
GECKODRIVER=$(which geckodriver) cargo test --all-features --target wasm32-unknown-unknown
- name: Run tests - yew-router
run: |
Expand Down
2 changes: 1 addition & 1 deletion packages/yew/Cargo.toml
Expand Up @@ -96,5 +96,5 @@ default = []
tokio = { version = "1.15.0", features = ["full"] }

[package.metadata.docs.rs]
features = ["csr", "hydration", "ssr"]
all-features = true
rustdoc-args = ["--cfg", "documenting"]
3 changes: 1 addition & 2 deletions packages/yew/Makefile.toml
Expand Up @@ -9,8 +9,7 @@ args = [
"--firefox",
"--headless",
"--",
"--features",
"csr,hydration,ssr"
"--all-features",
]

[tasks.ssr-test]
Expand Down

0 comments on commit a1a061e

Please sign in to comment.