Prepare for minor release #40
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
name: Test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
name: Integration Tests with gzip compression | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
target: wasm32-unknown-unknown | |
- name: Install wasm-pack | |
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | |
- name: Install just | |
uses: extractions/setup-just@v1 | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v1 | |
- name: Build test `tonic-web` server | |
run: just build-gzip-test-server | |
- name: Run test `tonic-web` server | |
run: just start-gzip-test-server & | |
- name: Run headless browser test | |
run: just test-gzip-headless |