fix http redirect #16
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: spa-server ci | |
on: | |
push: | |
branches: | |
- 'master' | |
env: | |
REGISTRY: ghcr.io | |
jobs: | |
check_server: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Cache cargo registry | |
uses: actions/cache@v2 | |
with: | |
path: ~/.cargo/registry | |
key: cargo-registry-trimmed-${{ hashFiles('**/Cargo.lock') }} | |
- name: Cache cargo index | |
uses: actions/cache@v2 | |
with: | |
path: ~/.cargo/git | |
key: cargo-index-trimmed-${{ hashFiles('**/Cargo.lock') }} | |
- name: build all | |
run: cargo build | |
- name: run spa-client test | |
run: cargo test -p spa-client | |
- name: run spa-client test | |
run: cargo test -p spa-server | |
- name: run integration test | |
# --show-output | |
run: cargo test -p tests --test starter -j 1 -- --test-threads 1 |