Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[alias]
gen-docs = "run -p embers-client --bin gen-docs --"
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: CI

on:
push:
branches:
- main
pull_request:

env:
Expand Down Expand Up @@ -36,8 +38,20 @@ jobs:
sha256: ${{ env.FLATBUFFERS_SHA256 }}
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Install mdBook
run: cargo install mdbook --version 0.5.2 --locked
- name: Run unit and integration tests
run: cargo test --workspace
- name: Regenerate config API docs
run: cargo gen-docs
- name: Verify checked-in config API docs
run: |
status="$(git status --porcelain -- docs/config-api)"
if [ -n "$status" ]; then
echo "Config API docs are out of date after regeneration:"
printf '%s\n' "$status"
exit 1
fi

pty-smoke:
runs-on: ubuntu-latest
Expand Down
Loading
Loading