-
Notifications
You must be signed in to change notification settings - Fork 4
43 lines (41 loc) · 1.18 KB
/
spa-server-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: CI
on:
push:
branches:
- 'master'
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