Skip to content

fix run-tests, coverage and mdbook flows #45

fix run-tests, coverage and mdbook flows

fix run-tests, coverage and mdbook flows #45

Workflow file for this run

name: Deploy mdBook
on:
push:
branches: [ main ]
jobs:
build:
name: Build, Test and Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
- name: Install mdBook
run: |
(test -x $HOME/.cargo/bin/mdbook || cargo install --vers "^0.4" mdbook)
cargo install mdbook-linkcheck mdbook-mermaid mdbook-admonish
- name: Build and Test
run: |
cd mdbook
mdbook-admonish install
mdbook build
mdbook test
- uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: ./mdbook/book/html