Skip to content

Commit dfceebb

Browse files
committed
Simplify CI setup
1 parent 4b55901 commit dfceebb

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,10 @@ jobs:
4141
profile: minimal
4242
toolchain: stable
4343
override: true
44-
- name: Setup wasm-bindgen
45-
run: |
46-
rustup target add wasm32-unknown-unknown &&
47-
sudo apt update && sudo apt install -y firefox-geckodriver &&
48-
cargo install wasm-bindgen-cli
44+
target: wasm32-unknown-unknown
4945
- name: Execute cargo test
5046
run: |
51-
xvfb-run cargo test --manifest-path=./graphql_client/Cargo.toml --features="web" --target wasm32-unknown-unknown
47+
cargo test --manifest-path=./graphql_client/Cargo.toml --features="reqwest" --target wasm32-unknown-unknown
5248
lint:
5349
name: Rustfmt and Clippy
5450
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)