Add WASM build to test compatibility #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install wasm-pack | |
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | |
- name: Test chrome | |
run: wasm-pack test --headless --chrome --manifest-path=opentelemetry/Cargo.toml --all-features -- --ignored --test-threads=1 | |
- name: Test firefox | |
run: wasm-pack test --headless --firefox | |
# Run global tracer provider test in single thread | |
#cargo test --manifest-path=opentelemetry/Cargo.toml --all-features -- --ignored --test-threads=1 | |
# | |
#cargo test --manifest-path=opentelemetry/Cargo.toml --all-features | |
#cargo test --manifest-path=opentelemetry-jaeger/Cargo.toml --all-features -- --test-threads=1 | |
#cargo test --manifest-path=opentelemetry-zipkin/Cargo.toml --all-features |