Skip to content

Observer based on tracing crate #708

Observer based on tracing crate

Observer based on tracing crate #708

Workflow file for this run

name: argmin book
on:
pull_request:
push:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
book:
name: Book test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Cache dependencies
id: cache-dependencies
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Generate harness
working-directory: ./media/book/tests
run: ./generate_book_tests.sh
- name: Test code samples
working-directory: ./media/book/tests
run: cargo test