bak it #25
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
name: CI | |
on: | |
push: | |
branches: | |
- 'master' | |
- 'develop_*' | |
workflow_dispatch: | |
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 | |
- name: run pebble | |
run: ./run_pebble.sh | |
working-directory: ./tests/bash/ | |
- name: run acme integration test | |
run: cargo test -p tests --test acme_test -j 1 -- --test-threads 1 |